WordPress.org

Forums

Embed blog into external website (11 posts)

  1. reactiv
    Member
    Posted 5 years ago #

    I'm wanting to start using a WorePress blog for myself and primarily for the company I work for. I am trying to search for help/docs on how to embed posts into existing webpages hosted externally. For example, I want to be able to pull just the last 5 posts from the blog, without any headers, sidebar etc into an existing html/php webpage. Every time the webpage is loaded it will dynamically update any new blog posts.

    Any help is much appreciated.

    Thanks

  2. krembo99
    Member
    Posted 5 years ago #

    I would recommend doing it the other way around, meaning to incorporate the HTML into wordpress, and not the otehr way around.
    If you still want to do that the way you proposed, I think the easiest way would be via RSS feeds .. just send them to your site and then incorporate a parser to your site.

  3. maryna
    Member
    Posted 5 years ago #

    I'm trying to do the same thing as Reactiv. I guess MY next question will be: How do I send the bloc via RSS feeds and how do I incorporate a parser?
    I'm new to WordPress and totally clueless :(
    Maryna :)

  4. krembo99
    Member
    Posted 5 years ago #

    @maryna

    How do I send the bloc via RSS feeds and how do I incorporate a parser?

    I would recommend doing it the other way around...incorporate the HTML into wordpress,

    Doing what reactive suggested will need some PHP knowledge..
    But doing an all wordpress site is quite easy, just put the HTML files as PAGES...

  5. Samuel B
    moderator
    Posted 5 years ago #

    you can pull wordpress to a static html site by using rss feeds

  6. outshine
    Member
    Posted 5 years ago #

    You can take help of lastrss for displaying rss content on php page.

  7. krembo99
    Member
    Posted 5 years ago #

    you can pull wordpress to a static html site by using rss feeds

    This is what I said above ..

    I think the easiest way would be via RSS feeds ..

    But I still think that for people new to wordpress, and with no PHP knowledge, it would be much easier the other way around, and that would be to copy the content of the static pages, and put them as PAGES inside wordpress..
    Makes updates easier, and less trouble dealing with css and parsers on the static side #(which at that point, is not static at all anymore, and IMHO, does not have any reason to survive)

  8. Samuel B
    moderator
    Posted 5 years ago #

    @ krembo99
    sorry didn't see that
    wasn't trying to step on you

  9. krembo99
    Member
    Posted 5 years ago #

    wasn't trying to step on you

    No problem..never crossed my mind that you were :-)

    But keeping things on the topic, I do not think that using wordpress only as an RSS feed supplier to an HTML page is the right way, but rrather put the HTML content into pages...

  10. globalmama
    Member
    Posted 5 years ago #

    Thanks very much to outshine for his/her response!! LastRSS is the open source app to use to add a blog feed to an existing site.

  11. Rev. Voodoo
    Volunteer Moderator
    Posted 5 years ago #

    http://www.corvidworks.com/articles/wordpress-content-on-other-pages

    the instructions here work great for incorporating your blog posts onto another site. I set it up in a few minutes. RSS feeds are limited in styling options, and I found them unreliable. This technique lets you add any styling and works perfectly

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.