If I remember correctly the DS1310/DS1311 is a 40-pin DIP socket with a few KB of nonvolatile SRAM and an RTC in the case of the DS1311.
The actual chips are the DS2413 in the case of the DS1310 and the DS2414 in the case of the DS1311.
The DS2413 and the DS2414 are special versions of the 1-wire DS2403 and DS2404, respectively.
Keep in mind the last time I came across a DS1310/DS1311 was about fifteen years ago, I managed to find the datasheets in a hardcopy of the Dallas Semiconductor Product Guide from the 90's.
I have no idea where you are coming up with the DS1310 part number, if it is actually a Dallas DS1310 I would opt for a more recent device.
The DS1307 and AT24C32, which Andre mentioned are I2C devices, largely different devices from the DS2413 or the DS2414, which were 1-wire devices.
What specific microcontroller are you attempting to interface with the DS1307 and AT24C32?
BigDog