On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Syndication of Latest Forum Posts Not Working

UserPost

5:57 am
5 Jan 2008


paperweight

Member

posts 4

1

Great plugin and I have it working fine except for one area:  I want to syndicate the latest forum posts onto my blog’s front page. It seems the only way to do this is to use the RSS feed from my forum and showcase it on my blog, is this right? Are there any other ways to syndicate it to my blog?

If I syndicate using RSS, my RSS seems not to work. It validates perfectly at w3.org, but my blog seems not to recognize it when I use this syndication code:

<?php
require_once(ABSPATH . WPINC . ‘/rss-functions.php’);
$rss = fetch_rss(’http://www.myblog.com/forum/?xfeed=all’);
for($i=0;$i<5;$i++) {
$item=$rss->items[$i];
echo ‘<p><a href="’.$item['link'].’" title="’.$item['title'].’">’.$item
['title'].’</a></p>’;
}
?>

 

That code above works perfectly fine for any other RSS feed from my blog or from external sources/websites/blogs, but it seems not to work for /forum/?xfeed=all. Any ideas what is wrong or how to fix?

Tks!

6:12 am
5 Jan 2008


paperweight

Member

posts 4

2

Hmmm… a quick update:

I used the  RSS feed from this forum at yellowswordfish.com and it works fine. The construction of the feed’s URL is identical except of course for the domain name. So it seems to be a problem with only my site/server, but I’m unclear what the problem is. When I view my feed in a browser, it appears fine and it validates fine as RSS… weird. Cry

Anyone have any ideas? 

11:03 am
5 Jan 2008


-Radio-

Moderator

Florida - USA

posts 558

3

Am I correct is guessing that you do not have the forum and your blog on the same wordpress install?

if the forum is on the same wordpress install as your blog there is a SFP Sidebar widget… there are also multiple PHP functions detailed in the documentation that you can use in your template or PHP aware widgets and posts.

If your wordpress install for SFP and your wordpress install for the rest of your site are on two different servers or otherwise seperated, then yes, using the RSS feed from SFP would be the best way to display recent posts.

I have noticed that wordpress’ original RSS widget does a really crappy job at reading RSS… there are several replacements out there… you can also clean your RSS feed to customize or work differently with different feed readers… by piping it through FeedBurner/ Google/ Yahoo Pipes, etc…. just a thought

 

 

11:18 am
5 Jan 2008


paperweight

Member

posts 4

4

-Radio- said:

Am I correct is guessing that you do not have the forum and your blog on the same wordpress install?


 


Hi, thanks for your feedback! yes, my blog and forum are on the same server, same blog, VPS, etcetera. The forum is a plugin within my blog…

I am finding that other sites, including Google reader, are having problems reading my feed. Again, I can see it fine and it validates fine, but WP can;t see it either.

I’m not using widgets on my blog, so i’ll lok at the other php items. I already checked the User Manual but can;t find exactly what you mean… can you please let me know which php functions.

Tks! 

2:18 pm
5 Jan 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

5

the Template Tags section of the user guide.

4:09 pm
5 Jan 2008


paperweight

Member

posts 4

6

Ah, you are absolutely right–I missed that for some reason. Ok, it is now running well.

However it would be great in the future to have slightly more options in formatting each output. For example, currently I can only turn on/off the <li> but I’d rather use <p></p> per my own blogs formatting and css.

tks! 



Reply to Topic: Syndication of Latest Forum Posts Not Working

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 12 + 3        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

12 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)