summaryrefslogtreecommitdiff
path: root/modules/rss
AgeCommit message (Collapse)Author
2009-06-14Refactor the way that the rss module works so that we're not allowingBharat Mediratta
the url to dictate arbitrary static method calls. * Each xxx_rss helper has a single feed() call which takes an id as the argument * xxx_rss::available_feedS() only returns feeds when they're applicable (ie if you're viewing a tag, it won't show you an item feed). * Feed urls are now in the module/feed_id form so that we can bind a feed id to a given module * Tightened up the Rss_Controller by using url::merge and some other tricks. * Made the slideshow module express its own feed.
2009-06-14Refactor feed code to use stdClass everywhere. Fix bugs in theBharat Mediratta
max-pages calculation code. Move feed related data into the $feed variable and only pass that to the view.
2009-06-14Don't use stdClass to return the feed data. Just use an array.Tim Almdal
2009-06-14Remove the sidebar flag from the feed definition returned by available_feeds andTim Almdal
replace with a type field with one of two values (head and block). We need to do this to determine what fields go in the rss block so we can ignore the definitions that are related to the page head when creating the rss block that goes into the sidebar.
2009-06-14Remove rss:item_feed, rss::tag_fead and rss_theme::head and move thatTim Almdal
functionality in the <module_name>_theme::head function. Created rss::feed_link to wrap the module supplied uri in the html link element.
2009-06-14Rename:Tim Almdal
rss::get_feeds() -> rss::available_feeds() rss::process_feed() -> rss::feed_data()
2009-06-14Rename Rss_Controller::__call to Rss_Controller::feed, which changes the feedTim Almdal
url to rss/feed/<feed name>/[<id>] Where feed name is the name of the feed (i.e. albums, updates, comments, tags etc.) and id is the optional element id that the feed applies to.
2009-06-12Continue refactoring the rss module and distribute the creation of album andTim Almdal
tag feeds to the gallery and tag modules respectively. This chould close ticket #388
2009-06-12Move the processing of rss feeds from the rss controller to callbacks in theTim Almdal
modules that are supplying the feed. The rss controller becomes a router. In this change the comment and updates fields are distributed.
2009-06-12Change from an event driven model to a call driven model similiar to the taskTim Almdal
api.
2009-06-12Change the "request_feed_links" eventing handling so that individual modulesTim Almdal
provide the part of the url (the suffix) that they are interested in and the rss module will format the rest of the url.
2009-06-11Rearrange the code in sidebar_block to logically group the code for readability.Tim Almdal
2009-06-11Changed rss_theme::sidebar_blocks to fire the event "request_feed_links" toTim Almdal
allow modules to contribute rss feed links to the rss sidebar block. Ticket #388.
2009-06-10Only add the comment rss feeds if the comment module is active. fix for #365Tim Almdal
2009-05-31Rename "text" to "title" for clarity.Bharat Mediratta
2009-05-31Run all variables that come from user-entered data through p::clean()Bharat Mediratta
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-04-05Remove obsolete code.Bharat Mediratta
2009-03-17rss/updates doesn't have an item. Clean up some typos here.Bharat Mediratta
2009-03-17filesize() dies if the file doesn't exist, which can happen in theBharat Mediratta
case that a gallery is slightly corrupt. In that case, just ignore the error.
2009-03-17Fix typo: $max_page -> $max_pagesBharat Mediratta
2009-03-16Set $item and $tag in the Theme_View so that calls like $theme->item()Bharat Mediratta
which fall through to calling &View::__get() have an lvalue to return, else you can't return them by reference. Also, don't show sidebar blocks for pages that don't have an item so that the rss and tag modules don't break the search page.
2009-03-14Use relative urls for the feed links.Bharat Mediratta
2009-03-09Fix for ticket #133: If $max_pages is zero don't try to redirect toTim Almdal
max_page, just return an empty feed.
2009-02-26Minor code simplification.Bharat Mediratta
2009-02-24Added a block to the siebar that lists the available feedsTim Almdal
2009-02-23Change the way movies are presented in the feed. Couldn't figure outTim Almdal
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-23Change the media content for video. I don't think its quite rightTim Almdal
yet, but that's maybe because I'm not generating thumbnails
2009-02-23Fix broken slideshowTim Almdal
2009-02-231) Updated the media feed with new fieldsTim Almdal
2) Created a comments feed (/rss/comments) 3) Created a updates feed (/rss/updates) User interface to follow
2009-02-22Removed the full-size enclosure tag and fixed alignment of the content tag.Tim Almdal
2009-02-21Correct the layout of the feed so that the image shows up in the bodyTim Almdal
of the message in the feed reader.
2009-02-191) Rename the module media_rss to rssTim Almdal
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.