[PhotoFloat] RSS feed support?

Antoine Beaupré anarcat at orangeseeds.org
Thu Feb 13 18:45:49 CET 2014


On 2014-02-13 10:50:39, Antoine Beaupré wrote:
> I tried a first stab at this, on this git repo:
>
> http://anonscm.debian.org/gitweb/?p=collab-maint/photofloat.git;a=commitdiff;h=c72dcf422a56d01f727e373fa3784e860d0786e3
>
> My first attempt was to generate a new album, which I would call a
> "meta-album", named "recent", which contains all latest images,
> regardless of location.
>
> It doesn't purge old images, or generate RSS feeds.

Now it generates a crude feed, and requires you to hardcode the absolute
URL of the gallery in the code (ouch!). Also, older photos don't have
the right pubDate.

Example:

http://photos.orangeseeds.org/cache/root.rss

One flat RSS feed is generated for each album, and includes all images
within all the subalbums. That policy could easily be changed in code.

Remaining:

 * link to the RSS feed in the HTML (or JS?)
 * add images to the RSS feed (menalto gallery does this with
   <content:encoded> *and* <media:thumbnail> tags
 * make the URL customizable
 * fix pubDate for older photos
 * get rid of the "recent" album, or make it clearer in the UI

I would welcome feedback on the code and functionality.

A.

-- 
That's the kind of society I want to build. I want a guarantee - with
physics and mathematics, not with laws - that we can give ourselves
real privacy of personal communications.
                         - John Gilmore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/photofloat/attachments/20140213/f5de2493/attachment.asc>


More information about the PhotoFloat mailing list