I need to create a sort of widget which simply shows a list of posts under a category, this post will have a thumbnail, a title and an excerpt. The title then has to, instead of linking to the actual post, link to an external source.
That is fine and I can do that, the problem I have is that this widget has to be used on external sites, all to pull from my database and look the same!
So what is the best way to do it? I’ve looked at getting it to read the XML feed, and I know I can do that with a little improvisation.
So another way would be using an iframe, and then another way again would be to have a php file on my site which prints out the contents and have a function on external sites using file_get_contents() and spitting that out.
- The topic ‘Need some advice’ is closed to new replies.