WordPress.org

Ready to get started?Download WordPress

Forums

Placing a blog summary on an external page (3 posts)

  1. berniecode
    Member
    Posted 7 years ago #

    Hi there. I've just got wordpress up and running - very lovely it is too.

    I'd like to display the most recent few blog posts on my site home page, which is not managed by wordpress. I could hack together an RDF parser that fetches an appropriate feed URL, parses it and displays it, but it seems a bit ugly:

    (a) because the feeds appear to be dynamically generated, a MySQL/wordpress failure would take down the homepage.
    (b) if the site gets a lot of traffic, it would hammer the server.

    I'm therefore looking for a way to have wordpress write out a file containing a feed or summary HTML that can be included in the home page when any blog post is created or edited.

    I'm a software developer, so if there's nothing around I'm sure I can write one with a few pointers.

    Many thanks again for the great product,

    Bernie :o)

  2. Chris_K
    Member
    Posted 7 years ago #

    Have a glance at Creating_a_Static_Front_Page -- in particular, the integration section.

  3. berniecode
    Member
    Posted 7 years ago #

    Splendid. Along with the save_post hook that's just what I needed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags