SEO Services
Home >>
Webmaster Forums >>
Rss feedsRss feeds
chris3471 said: "I'm working on a little project but I'm not sure how to do it. The dashboard is full of feeds from wordpress that I don't like, basicaly wordpress is getting a bunch of free links from us. What I'm trying to do is make a central location where all our feeds can be combined and then output to each blog. Trouble is I don't know much php or much about rss.
Here's the code from wp-admin/index.php this is the feed from wordpress.
[code]
items) && 0 != count($rss->items) ) {
?>
items = array_slice($rss->items, 0, 20);
foreach ($rss->items as $item ) {
?>
- '>
items) && 0 != count($rss->items) ) {
?>
items = array_slice($rss->items, 0, 20);
foreach ($rss->items as $item ) {
?>
- '>
Darren said: "There's an easier way to do it. I'll add a way to grab all our RSS, and then we can just change the include statement in the Wordpress file."
chris3471 said: "Or that I guess."
Darren said: "If you have PEAR, then you can use a class called Magpie. Very easy.
[code]
";
foreach ($rss->items as $item ) {
$i++;
$title = $item[title];
$url = $item[link];
echo "
| $title |
";
}
echo "";
?>
[/code]"
chris3471 said: "But what I'm trying to do is combine all the feeds from all the blogs in our network and then republish them as a single feed. I wanted something I could host myself but I couldn't find anything, I did however find a site called blogdigger that does what I want but I doubt it's very fast, I was hoping for something that would update the instant that a new post was published. Well I registered our group as Blog Republic and entered the urls for all our feeds, it's not working yet but it says it can take several hours for them to get crawled. If I get it to work I'll post the url for the feed."
Darren said: "That function I posted will work for all. Let me polish it up :)"
chris3471 said: "Oh ok. Let me know. :D"
chris3471 said: "Hey the blogdigger thing works, look at my [URL="http://www.searchmebaby.com/dashboard"]dashboard[/URL]
Here's the url for the feed in case anyone wants it.
[url]http://groups.blogdigger.com/rss.jsp?id=2800[/url]"
Darren said: "Pretty useful, really. Good idea by those guys."
chris3471 said: "I think this is great because now instead of giving traffic to wordpress we can keep it in the family. Not to mention I can stay up to date on the other blogs.
In case you want to change yours it's the wp-admin/index.php file way down towards the bottom. Oh, I didn't know the rss urls for the blogger blogs do you?"
Darren said: "I believe you add atom.xml to the domain name. So try [url]http://darksat.blogspot.com/atom.xml[/url]"
chris3471 said: "Yep that worked, I'll go add darksats blog and the pixiestix blog to the blogdigger group."
chris3471 said: "It would seem that the feed isn't perfect, it's not working at the moment but it was a while ago.
You can also go here and see all our feeds displayed
[url]http://groups.blogdigger.com/groups.jsp?id=2800[/url]
I expect that this will give us all links as well."
Darksat said: "how often is it updated?"
chris3471 said: "I havent a clue and my feed to my dashboard seems to be dead, not sure why but this is why I want something I can host myself."