- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Anyone know of a widget / code to pull in recent post feeds from a blog to a static web site?
is the static site you want to display the recent posts on within the same domain as your blog, or are you trying to get recent posts from blog.com to static.com?
Yes the blog is within the same domain as the static site. I understand that javascript has difficulties passing data in different domains.
Ok, so are you using WordPress for the blogging platform? I am not sure of your setup, but you can essentially create "static" pages within a WordPress installation and then at that point you could create a custom query to pull recent posts or post from a particular category or whatever you want.
If it’s another site outside the WordPress or blog installation, what I would do is create an RSS feed on whatever category or simply on the posts for recent posts and then implement that feed on the "static" site. This can be done a number of ways with either Javascript or PHP, and by now there should be some plugins out there that will do this with minimal configuration. I can gather up some links for you on how to do this if this is the necessary route.
If you can provide some more specific details about how the sites are setup and what services/technologies you are currently using I can provide some more definitive answers.
Yes I am using WordPress for the blog on the domain but the static page is part of a hosting site on the same domain that uses partly static HTML pages and the rest is rhtml ( Ruby On Rails).
There are a few Jquery plugins that do what I need but are either difficult to use or incomplete. I have started to learn JQuery and Javascript but still quite a novice.