Page 1 of 1

RSS Aggregator Links

Posted: Mon Jun 11, 2007 12:24 am
by diroddi
When I use RSS Aggregator, it doesnt show the full article just a portion. Also, there is no link to the full article.

How can I get the full article, or at least have a link to the full article like the sidebar plugin RemoteRSS?

Thanks

Ditto

Posted: Fri Jun 15, 2007 7:47 pm
by wwday3
I will echo diroddi's question, and add one of my own.

When adding the RSS aggregator feeds there are input fields labeled Feed Name, a "Feed URI / Homepage URI", and then of course the Categories. The "Feed URI / Homepage URI" appears to have two input fields stacked above each other. What is the purpose of the "Homepage URI" field (which I assume is the second input field)?

Are all of these various plugins documented somewhere?

Thanks,
Wally

Re: Ditto

Posted: Sun Jun 17, 2007 1:35 pm
by garvinhicking
Hi!

Oh, I thought I had replied to this topic.

Please check the theme-patch.diff file in the aggregators plugin directory. It tells you what you need to insert into your entries.tpl template to show the original feeds contnet.

The aggregator can only store what is offered in the RSS posting. If the RSS feed you import has no full tesxt, the aggregator can't fetch it elsewhere.

Best regards,
Garvin

I'm afraid I'm a bit confused...

Posted: Tue Jun 19, 2007 2:19 am
by wwday3
First, since I downloaded the aggregator just an hour before I posted, do I still have to do all this .diff file stuff? Wouldn't Spartacus have downloaded the most recent version of the plug-in?

Now, the feed itself. As a test, I grabbed the Odd News feed from Yahoo, just to see what it looked like. The RSS URL looks like this

http://rss.news.yahoo.com/rss/oddlyenough

When I pull it up in my browser/reader, I see the title/URL and a short paragraph. Hovering over the title/URL shows me

http://us.rd.yahoo.com/dailynews/rss/od ... es_in_baby

Clicking on this title/URL takes me to the full story (as I would expect).

After I add it to the aggregator, and view the blog, I see basically the same thing, but this time clicking on the title/URL takes me to a single post page with the exact same paragraph in it. The second part of the above URL (the part past the '*') is nowhere to be found. I assume that's the part of the URL used by "Read More". Since I have no idea what that URL is before the aggregator aggregates, how is this supposed to be resolved?

Thanks,
Wally

Re: I'm afraid I'm a bit confused...

Posted: Tue Jun 19, 2007 9:56 am
by garvinhicking
Hi!

Yes, because the .diff file applies to your TEMPLATE and is not related to the plugin itself. It adds extra functionality to a template file, so you need to patch that into your template. The plugin cannot do that for you because there are no placeholders inside the template so that the plugin could emit the required variables there.

Best regards,
Garvin

Thanks Garvin

Posted: Tue Jun 19, 2007 10:20 pm
by wwday3
I'm still not used to thinking in Serendipity terms.

Is there one template that's better than others for this? Or are they all pretty much the same?

Re: Thanks Garvin

Posted: Wed Jun 20, 2007 11:08 am
by garvinhicking
Hi!

No, you can apply that patch (MANUALLY!!!) to any template you like. Actually you simply only need to insert

Code: Select all

{$entry.properties.ep_aggregator_feedname}
<a href="{$entry.properties.ep_aggregator_articleurl}">Read Article</a>
in your entries.tpl template file anywhere you like (but within the {foreach... item="entry"} loop).

Best regards,
Garvin

entries.tpl

Posted: Thu Jun 21, 2007 7:22 am
by diroddi
Thanks for the help, that gave me a 'Read Article' link. I tried with coffee cup, although it doesnt look like all themes have an entries.tpl file, like Joshua-Nino3. How would I do this without an entries.tpl file?

Thanks again.

Re: entries.tpl

Posted: Thu Jun 21, 2007 12:43 pm
by garvinhicking
Hi!

In that case you just copy the 'entries.tpl' from the default or carl_contest folders into your theme directory and modify it there.

HTH,
Garvin