]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Unify feeds definition in actions
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 11 Feb 2009 16:37:50 +0000 (11:37 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 11 Feb 2009 16:37:50 +0000 (11:37 -0500)
commit22b10399aaa97061ed940f92f5b15f6aacfb1093
tree81ddddc5ed3df873f81e7a18c3e2a2e47dc79ff9
parentad65c447d5e32b8ef5681789eca12a3717231311
Unify feeds definition in actions

I got a little sick of trying to keep the export data and <head> links
synched in actions, so I made a common method, getFeeds(), which gets
the feeds for both. It returns an array of Feed objects, which know
about what their mime type is, title, location, all that jazz.

I changed the FeedList class so it handles the new Feed objects
instead of the old array of data.

I changed all the actions that show feeds (I think...) so that they
now use getFeeds() for all their feed needs.
actions/all.php
actions/noticesearch.php
actions/public.php
actions/replies.php
actions/showfavorites.php
actions/showgroup.php
actions/showstream.php
actions/tag.php
lib/action.php
lib/feed.php [new file with mode: 0644]
lib/feedlist.php