RSS Aggregator

Creating and modifying plugins.
Post Reply
Dance_master
Regular
Posts: 10
Joined: Sat Jul 28, 2007 8:56 pm
Location: usa
Contact:

RSS Aggregator

Post by Dance_master »

i am using the plug in for RSS Aggregation and it is dropping the external URL these URLs are where the main article is. is there any way to keep these URLS in the feed. or include them in the feed. as it is i am importing them and then modifying each one of them so i get the full article.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS Aggregator

Post by garvinhicking »

Hi!

To include the entry URL you must modify your entries.tpl template file. Have a look at the file 'theme-patch.diff' of the serendipity_event_aggregator directory, it tells you which parts to modify of the defulat entries.tpl to include the URL variable.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Dance_master
Regular
Posts: 10
Joined: Sat Jul 28, 2007 8:56 pm
Location: usa
Contact:

need more help

Post by Dance_master »

i have made the changes to entries.tpl in default and i still am not getting the external links. is there something else i need to do?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: need more help

Post by garvinhicking »

Hi!

Then you did the wrong changes. What did you do? Are you sure you're editing the right entries.tpl file of the right template?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Dance_master
Regular
Posts: 10
Joined: Sat Jul 28, 2007 8:56 pm
Location: usa
Contact:

Post by Dance_master »

i got it figured out. and it is working. thank you for your help
Dance_master
Regular
Posts: 10
Joined: Sat Jul 28, 2007 8:56 pm
Location: usa
Contact:

regular expression

Post by Dance_master »

[ballroom] && [dance] ~
[dancsport] ~
[[ballroom] | [dance]] && [[roxtrot] | [waltz] | [tango] | [swing] | [rumba] | [cha] | [salsa] | [mambo]]

i have not used regular expression before. can you please tel me what is wrong with this expretion. when i put it in a used it i crashed the apachie server.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: regular expression

Post by garvinhicking »

Hi!

Uh, where do you put that? That's a completely invalid regular expression :-D

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gansad
Regular
Posts: 6
Joined: Sun Feb 25, 2007 10:53 am

RSS Aggregator -- default author

Post by gansad »

I am using this to grab rss feed which has been working fine. The only issue is that the author is left empty i.e. Posted by _____

How do I set the default author for this? i.e. I would like to name the author as RSS_Feeds etc? Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS Aggregator -- default author

Post by garvinhicking »

Hi gansad!

For that you need to patch/edit the entries.tpl template file of the template you are using. Check out the theme-patch.diff file inside the serendipity_event_aggregator directory to see what you need to change.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gansad
Regular
Posts: 6
Joined: Sun Feb 25, 2007 10:53 am

yes it works!

Post by gansad »

thanks garvin -- didnt notice there is a patch for that, ran it and working fine now. thanks again!
Post Reply