Tim Almdal
30bdaa8123
Continue refactoring the rss module and distribute the creation of album and
...
tag feeds to the gallery and tag modules respectively. This chould close
ticket #388
2009-06-12 11:48:13 -07:00
Tim Almdal
dc6c75cd05
Move the processing of rss feeds from the rss controller to callbacks in the
...
modules that are supplying the feed. The rss controller becomes a router.
In this change the comment and updates fields are distributed.
2009-06-12 08:52:03 -07:00
Tim Almdal
d4d145a443
Change from an event driven model to a call driven model similiar to the task
...
api.
2009-06-12 07:46:42 -07:00
Tim Almdal
e5793b5b26
Change the "request_feed_links" eventing handling so that individual modules
...
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-12 06:58:53 -07:00
Tim Almdal
4877f968b4
Rearrange the code in sidebar_block to logically group the code for readability.
2009-06-11 00:48:32 -07:00
Tim Almdal
1272d0837e
Changed rss_theme::sidebar_blocks to fire the event "request_feed_links" to
...
allow modules to contribute rss feed links to the rss sidebar block.
Ticket #388 .
2009-06-11 00:44:34 -07:00
Tim Almdal
0c5cb026a7
Only add the comment rss feeds if the comment module is active. fix for #365
2009-06-10 08:26:40 -07:00
Bharat Mediratta
9a6f18075a
Rename "text" to "title" for clarity.
2009-05-31 01:14:28 -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
7aed923908
Restructure the module lifecycle.
...
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-26 05:28:59 +00:00
Bharat Mediratta
5495037a3d
Gee it's May already. Update copyright to 2009.
2009-05-13 20:04:58 +00:00
Bharat Mediratta
ff0ccc7e02
Remove obsolete code.
2009-04-05 17:49:52 +00:00
Bharat Mediratta
0a520f389f
rss/updates doesn't have an item. Clean up some typos here.
2009-03-17 05:41:16 +00: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
Bharat Mediratta
a908c0e878
Fix typo: $max_page -> $max_pages
2009-03-17 05:24:19 +00:00
Bharat Mediratta
6a2e8ec1cc
Set $item and $tag in the Theme_View so that calls like $theme->item()
...
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-16 11:17:27 +00:00
Bharat Mediratta
1071b91409
Use relative urls for the feed links.
2009-03-14 18:42:01 +00:00
Tim Almdal
83563ac91a
Fix for ticket #133 : If $max_pages is zero don't try to redirect to
...
max_page, just return an empty feed.
2009-03-09 15:10:22 +00:00
Bharat Mediratta
11a7b6b751
Minor code simplification.
2009-02-26 02:09:41 +00:00
Tim Almdal
550d46da66
Added a block to the siebar that lists the available feeds
2009-02-24 19:19:58 +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