This project is read-only.

How to import blog using code

Topics: General, Writing modules, Writing themes
Nov 25, 2011 at 7:54 AM

For example, I need to import some news from a specified RSS feed using code every hour to my blog.

How can I use the code to do this? Is there are example? Thanks in advanse.

Nov 25, 2011 at 8:59 AM

There are a number of tutorials on this. It's very easy to find in google.

Nov 26, 2011 at 10:15 AM

Hi Randompete, thanks for your reply.

But I did search in google, and didn't find any sample using code to add content type like blog.

Nov 26, 2011 at 4:12 PM

Did you notice I linked to a google search in my reply? The top three results all describe methods of importing content into your blog. Perhaps you could adapt one of them to your needs.