View Full Version : Help for import rss feed links
tomsa
05-30-2006, 10:18 PM
Hello to phpld users
I'm running phpld V2 and i'm trying to import links from a rss feed (just one time no cron here). I tried to add it like a new link from the admin panel but it requires a title and then it's showing it as a unique link with the feed url.
How can i import a rss feed with his different links in one category ?
Thank you for your help
++
Tomsa
tomsa
05-31-2006, 02:44 PM
Hello
I finally found this file in the admin folder dir_links_importrss.php which seems to make it... i can't find how to get it from the admin panel menu ??
Thank you for help
Tomsa
Optimit
05-31-2006, 03:02 PM
Hi, so that I understand you correctly.
You want to import an rss feed from an outside source, into a category of your directory?
This can be done, but there is an easier way than trying to create a place in the admin for it.
Install an aggregator, like Carp on the site.
Then create a tpl file for the feed.
Next, place an include into your main.tpl in the place you want it to show, but wrap it in something like this. (zero being the ID of the category)
{if $category.ID eq 0}
Your feed include here
{/if}
That would bring the feed into only the category ID you designate.
I hope I am telling you right, but I am no programmer.
tomsa
06-01-2006, 09:27 AM
Thank you for your answer you did well understand i'm sorry because i'm french and my english is not so good.
I'm checking your solution which seems to be the best way to do what i want
I found this post with more explaination about how to do it :
http://www.phplinkdirectory.com/forum/showthread.php?t=3485
Optimit
06-01-2006, 10:10 AM
You can see an example here. I have only used it on about 5 or 6 categories, but you get the idea. http://www.generalwebdirectory.com/
Take a look at categories like arts and humanities, Internet, and business. Watch the left side content.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.