Commit Graph

11 Commits

Author SHA1 Message Date
Bharat Mediratta
6fbd79928c Move the <media:thumbnail> outside of the <media:group> to work around a bug in Cooliris. 2008-11-28 07:13:21 +00:00
Bharat Mediratta
0a6be1bf55 Fix some minor issues with the feed format 2008-11-28 02:44:02 +00:00
Bharat Mediratta
fd519082e1 Add a media_rss feed for tag views.
When visiting a photo, show the feed for the parent album.
2008-11-28 01:20:17 +00:00
Bharat Mediratta
611627231b Clean up the MediaRSS module a little bit:
* Media_RSS_Controller::$LIMIT is now self::$page_size
* We use ORM_MPTT descendant_counts()
* If the page is out of bounds, put it on a boundary
* Move pub_date into the controller to simplify the mrss file
* Put all the view assignment in one block for easier reading
* Removed stray ; from the end of lines in the mrss file

Clean up ORM_MPTT a bit:
* fix spelling: decendent -> descendant
* Remove unnecessary order_by() clauses
* Set the default for $type to null (not "all").
2008-11-20 02:59:43 +00:00
Bharat Mediratta
4a4eac31ad Create url::abs_site() and url::abs_file() to allow us to generate
full URLs with a clean API, and isolate the cruddy party where we have
to hardcode the server protocol into a single file.
2008-11-19 23:33:50 +00:00
Tim Almdal
7e5516302c clean up feed template 2008-11-19 18:54:49 +00:00
Tim Almdal
32b4a35568 Integrate Piclens lite as the slideshow 2008-11-19 18:45:12 +00:00
Tim Almdal
b3314fc1dc Update the media rss template to include the resize and the fullsize
added descendants by type method to the item model to allow for the selection of children by type
2008-11-19 18:23:30 +00:00
Tim Almdal
e14d5574b6 Cleanup media rss feed
added parameters to thumbnail_url and resizes_url to be passed to the url::base call to generate ful urls
2008-11-19 06:05:38 +00:00
Bharat Mediratta
20a0700fcb Set the content type to application/rss+xml 2008-11-19 03:29:57 +00:00
Bharat Mediratta
a197c057c8 rename views/feed.media_rss.php to views/feed.mrss.php because
mrss is a more standard abbreviation for MediaRSS.  Sigh.
2008-11-19 03:23:40 +00:00