bitsavers RSS beta
robert at irrelevant.com
Tue Mar 6 16:30:10 CST 2007
On 06/03/07, Sean Conner <spc at conman.org> wrote:
> > Is it customisable as to where and how it pulls the description information
> > of of a file for inclusion, though?
> Not really. It looks like:
> AddDescription "A picture of a PDP-11" pdp11.jpg
> AddDescription "Theory of Operations Guide for a PDP-11" php11.pdf
It strikes me that this is fairly straightforward to create however; a
few lines of php to add it to an .htaccess in each folder when logging
in a new file to that folder. And it should be each to ensure it
gets echoed across the mirrors automatically, if it wouldn't already!
Back on the RSS feed; I've done similar work in the past that reads
directory structures to find new files, to build up a database.
(images, in my case, automatically adding products to an oscommerce
database when it finds a new one.) Again, it should be
straightforward to have a periodic task that scans folders for changes
(just a check on the last-modified time since last scan) grabs the
description from the .htaccess file above, and appends to an RSS file
and even the what's new file if you want.
(I still believe that computers are there to save us work - you should
only have to upload a file, give it a description, and everything else
should propogates to wherever you need it automatically.)
More information about the cctalk