• 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

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

    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 ??

    @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 aroundincorporate 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

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

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

    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)

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

    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…

    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.

    https://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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Embed blog into external website’ is closed to new replies.