Support » Fixing WordPress » How To: Post WP Blogs in other non-WP pages

  • Hello,

    Are there WordPress plug-ins or mod that lets you import your WordPress blog entry into your non-WP pages?

    I want to feature the blog entires in my frontpage, which is a .php page.

    Thank you in advance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • you could get yourself magpie rss and use that to draw from your blog on your website page. it’s beyond the power of a plugin to put something on a standard webpage outside of the control of wordpress.

    http://magpierss.sourceforge.net/

    I’ve recently switched to using wordpress to do entire websites. I used do it like you, where I had the blog and a separate website. I’ve found it easier to just use the pages aspect of wordpress to create the other pages.

    Thread Starter Kwak

    (@kwak)

    Thank you. I checked out MagPieRSS and I have no clue on how to set it up.

    I’ve uploaded all the files under the MagPieRSS folder.
    Added require_once(‘magpierss/rss_fetch.inc’); to the index.php file.

    Then added require(‘rss_fetch.inc’);
    $rss = fetch_rss($url); to the page.

    The blog do not show up, only the codes.
    MagPieRSS is not friendly for the newbies. 🙂

    Thread Starter Kwak

    (@kwak)

    Tried

    require(‘rss_fetch.inc’); $rss = fetch_rss($url);

    but no go.

    WPChina

    (@wordpresschina)

    I think this post will help you:
    wordpress.org/support/topic/60829

    Since your main non-WP page is a .php file already, you’ll need to add some simple code to that page and then you can run the WP loop through it. Check that link for an example and let me know if that is what you need.

    Did you set $url to the feed you want to capture from before the calling code? Make sure the path to magpie is right in the require_once line.

    require_once 'rss_fetch.inc';

    $url = 'http://www.kwak.org/blog/category/outdoor/feed';
    $rss = fetch_rss($url);

    echo "Site: ", $rss->channel['title'], "<br>
    ";
    foreach ($rss->items as $item ) {
    $title = $item[title];
    $url = $item[link];
    echo "<a href=$url>$title</a></li><br>
    ";
    }

    Why don’t you try, a very simple and ready to use solution from Feedburner. All you have to do is register your blog and once all the setting are done. You have two options to show your Posts anywhere you like to;

    1. Headline Animator – This displays only animated headlines, one at a time.
    2. BuzzBoost : You can customize this to show any number of posts, excerpts, full posts, Text or complete HTML.

    You can see both running at my site

    Thread Starter Kwak

    (@kwak)

    Thank you for the help so far.

    manstraw, do I add the code in the non-WP page in the section where I want the RSS displayed OR above the header code of the page?

    Thread Starter Kwak

    (@kwak)

    Rok, thanks for the Feedburner suggestion.

    Tried it out and it is very simple to use!
    Great service for one outlink.

    Kwak – Nice, I have seen it running on your site. I think by this time, you must have known that you can customize it to anyways, that you want. And there is no need to re-generate the script again, if you want to make any new additon or deletions in the layout. You can do all this by passing paramateres in existing script within your page.

    kwak, you’ve got the feedburner solution working for you, but I’ll answer you question anyway, in case someone else wants to know.

    you put the magpie rss code on the regular website pages. you don’t modify wordpress at all to use it.

    feedburner is great, but for those who do not wish to rely on an outside service ( you know, in case they go down, changes things etc. ), there is the the option of running your own rss tools. that’s my own personal preference.

    I am agreed with manstraw. IF any internal thing gives trouble free service, that should be of “first preference”.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How To: Post WP Blogs in other non-WP pages’ is closed to new replies.