Commit Graph

18 Commits

Author SHA1 Message Date
Andy Staudacher
61f8af6e4c Fix for ticket #1020: Fix RSS feed validation of album / recent items feeds. 2010-02-16 21:56:56 -08:00
Bharat Mediratta
e7c564133f Use single quotes on the <?xml tag for readability. 2010-02-01 11:02:36 -08:00
Bharat Mediratta
03ea1ee701 Change the default image to be the full size so that the slideshow shows the big one. 2009-12-05 12:00:50 -08:00
Bharat Mediratta
d12555de9a Don't show resizes for albums, only for photos.
Fixes ticket #893.
2009-11-15 18:54:12 -08:00
Tim Almdal
5fb0434a47 Clean up the rss feed for the slideshow. It now validates using "http://validator.w3.org/feed/". Fixes ticket #806. Doesn't fix ticket#23. 2009-10-23 21:15:16 -07:00
Andy Staudacher
2bc73e2e36 Fix XSS vectors in HTML attributes (mostly t() calls) 2009-08-31 21:51:57 -07:00
Andy Staudacher
b9bd1681a3 Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly. 2009-08-29 22:54:20 -07:00
Andy Staudacher
c01ac42c46 Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
2009-08-29 12:48:40 -07:00
Bharat Mediratta
00fad54c0b Refactor feed code to use stdClass everywhere. Fix bugs in the
max-pages calculation code.  Move feed related data into the $feed
variable and only pass that to the view.
2009-06-14 16:40:57 -07:00
Bharat Mediratta
9369ccab7f Run all variables that come from user-entered data through p::clean() 2009-05-31 01:02:51 -07:00
Bharat Mediratta
522fe45787 filesize() dies if the file doesn't exist, which can happen in the
case that a gallery is slightly corrupt.  In that case, just ignore
the error.
2009-03-17 05:40:21 +00:00
Tim Almdal
e2f2ff4a7f Change the way movies are presented in the feed. Couldn't figure out
how to embed the object in the feed, so the recieve will still have to
click on the thumbnail to see the move.  Instead of actually playing
in the feed reader.
2009-02-23 18:41:22 +00:00
Tim Almdal
ad7b066f48 Change the media content for video. I don't think its quite right
yet, but that's maybe because I'm not generating thumbnails
2009-02-23 06:00:41 +00:00
Tim Almdal
3ced35929c Fix broken slideshow 2009-02-23 04:08:26 +00:00
Tim Almdal
b6e17eb139 1) Updated the media feed with new fields
2) Created a comments feed (/rss/comments)
3) Created a updates feed (/rss/updates)

User interface to follow
2009-02-23 02:47:29 +00:00
Tim Almdal
d61691fd95 Removed the full-size enclosure tag and fixed alignment of the content tag. 2009-02-22 16:56:37 +00:00
Tim Almdal
5c30510ac4 Correct the layout of the feed so that the image shows up in the body
of the message in the feed reader.
2009-02-21 07:04:25 +00:00
Tim Almdal
8b2c05afc0 1) Rename the module media_rss to rss
2) Protect the fullsize image with a permission check
3) Added a content:encoded element to each item which allows the image to show up in the body of the feed.
2009-02-19 15:24:17 +00:00