• I have tried a few scripts to update a feed to my web page by adding new content from my WP blog. They all ask for a source url and want to point to a specific file. I have tried http://www.mywebsite/wordpress/wp-atom.php, wp-rss.php, wp-rss2.php, and some other files. When I load the script it pulls the current content and displays it on the web page. However, I have tried adding new blog entries, removing some and it will not update the content on the page. When I say script, I mean I have downloaded and tried some free JavaScript scripts to read the feed from WP. I cannot figure out which file I should be pointing to. GoDaddy hosts my site and I downloaded the free WP plugin to the directory listing above is accurate. I am testing this since I have a client that needs to have a feed that displays his blog entries.

    Thank you in advance for your time.

Viewing 1 replies (of 1 total)
  • You mean that:
    1) you want your non-wordpress site to read and display a feed from a wordpress site.
    2) the script you are using works when you load the non-wordpress page and you see the feed items.
    3) but the feed content on the non-wordpress site does not change when you add or remove posts on the wordpress site.

    If that is all correct, then my guess is that your script 1) only runs at page load, in which case it will update only when you refresh the page, or 2) it isn’t updating as frequently as you’d like. Your javascript doesn’t have a persistent connection to your wordpress feed. It has to query the wordpress feed page every time it wants to update the feed content, just like you’d have to refresh your browser to see changes to the feed. Querying every second would result in huge server loads, so it is probably updating every x-minutes or every hour our something.

Viewing 1 replies (of 1 total)

The topic ‘Using WordPress to update feed in separate website’ is closed to new replies.