Page 1 of 1
new plugin request - show rss feed
Posted: Sun Oct 02, 2005 2:31 pm
by basiel
Wizard asked for this in
this post, but it seems lost in that big thread :
Wizard wrote:How about a plugin for RSS feeds similar to the one that Sebastian Nohn wrote for the Administrative screen.
Display RSS-Feed in Backend Overview
Displays a RSS feed on the overview page (right after login) to the administration interface
Author: Sebastian Nohn; version: 1.0
This could show up as an entry plugin right before entries or user definable. Probably you would want it to show only in the home page, not categories or static entries.
This seems to be what was discussed in
this post too...
Who can make a plugin for this?
new plugin request - show rss feed
Posted: Sun Oct 02, 2005 10:24 pm
by Wizard
I checked out this post:
This seems to be what was discussed in
this post too...
However JRProd's solution doesn't seem to work. He has a lot of broken feeds. Is the plugin possible?
I noticed a couple of my requests and others have gotten lost in the thread. Perhaps what is needed is a way to list the requests only and when they are going thru the debugging stage should be switched somehow to another forum topic, like Bugs or Development. Just a thought.
Re: new plugin request - show rss feed
Posted: Tue Oct 04, 2005 4:02 pm
by garvinhicking
Actually you could use this method:
1. Setup a RSS nugget plugin with the URL of the feed you want to show.
2. Set that plugin to "hidden".
3. Hover your mouse over the link for that plugin. It looks like this:
Code: Select all
http://localhost/serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=%40serendipity_calendar_plugin%3Aa48ca1ff12523d7f0c106306ab27cd4b
Now you need to extract the plugin ID of that one. It's the last in the URL:
Code: Select all
@serendipity_calendar_plugin:a48ca1ff12523d7f0c106306ab27cd4b
(%40 is a "@" character and %3A is a ":" character).
4. Now you can edit your index.tpl template file. Locate the place where you want the RSS feed to show up. At that place, insert this:
Code: Select all
{serendipity_showPlugin id="@serendipity_calendar_plugin:a48ca1ff12523d7f0c106306ab27cd4b" side="*"}
This will now embed the sidebar plugin at the index.tpl place. Easy, eh? And it's even documented here:
http://www.s9y.org/78.html
Regards,
Garvin
Easy for you to say...
Posted: Tue Oct 04, 2005 5:25 pm
by Wizard
Not as easy as a plugin.

Re: Easy for you to say...
Posted: Tue Oct 04, 2005 5:51 pm
by garvinhicking
But working and flexible already now, and it might take some time before someone implements this functionality into the plugin, were it is only needed rarely.
Let's face it, if someone needs custom modifications that are rarely useful for other people, he will need to edit his template files
Regards,
Garvin
Yeah but..
Posted: Tue Oct 04, 2005 6:13 pm
by Wizard
I'm not trying to get into a debate here, but isn't that what a plugin is? I'm not asking for it to be put into the core code, but a plugin that you either add or not at the user option. The plugin that I am asking for doesn't exist. It's been done for the admin interface, all I asked for is it to be available on the blog pages somehow. Jeeze, excuuuuuze meeee.

Re: Yeah but..
Posted: Tue Oct 04, 2005 6:37 pm
by garvinhicking
Sorry, my posting was not intended to go into this direction.
I was talking of an existing sidebar plugin that already shows RSS feeds in the sidebar. My understanding was that you wanted the RSS feed not to display in the sidebar, but on top of your template file.
Then I mean that such a plugin exists, and if you want to customize the plugin to show up differently, you could achieve this by editing your template. The templates in themselves are some kind of plugin, so I don't really want to create mega-configurable plugins if all that is required works by adding a single line in your template file, which would then be perfectly suited for your template; a plugin cannot randomly insert code into your template, so it would really be a good thing to place it in your template immediately.
Best regards,
Garvin
thx
Posted: Wed Oct 05, 2005 9:38 pm
by basiel
Thanks a lot Gravin, I combined your first answer here with your tip about using the contactform plugin... works great!
Thx, B.