Log in

No account? Create an account
Z303 [entries|archive|friends|userinfo]

[ website | Z303 ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Daily links script progress [Apr. 3rd, 2005|07:12 pm]
[Current Mood |accomplishedaccomplished]
[Current Music |Preaching To The Perverted OST]

Since last time I've done a little more work. this is what the todo list looks like now:

  • Way, way more testing. but you can never do enough, I'm sure it still contains bugs especially in error cases.
  • Better error handling and reporting.
  • Add code to not post an entry when that day has no links.
  • Add the code to work out what the current date minus a day is so I can have it automatically run it at four in the morning. Not done yet but I know how.
  • Add some code to put in a lj-cut if the number of links is greater than some constant (I'm thinking about 6-8 as a default)(Currently set to 4).
  • Add Technorati Tags at the bottom of each entry.
  • Sort out the formatting. but I'm still not 100% happy.
  • Refactor the code, it needs to be split up and use some functions.
  • Find a way to count the number of links using XSLT.
  • Check the del.icio.us accounts last updated date before going off to grab the links, so I don't go asking for nonexistent links.

But I'm not going to put this version on here, I still unhappy with the amount of refactoring so far, it really did not make the code as readable as I hoped, so I'm going to do a little more before I show the world.

On the other hand, the tag support worked out better than I hoped. It works by adding a header and footer file after it lj-cut test has been done, so the tags are just a small bit of html in the footer file, I'm not sure what to use the header file for yet but it seemed to be a good idea (and simple) to at the same time as the footer code.