make website page get news articles from feeds
I would like to start publishing some news articles from time to time. An option would be to create a new web page for every article but this sounds like it can be done easier. For instance I noticed clear channel uses some kind of feed, like: http://www.z100.com/cc-common/news/sections/newsarticle.html?feed=104650&article=7011404 I don't know what 开发者_Python百科it means and how it works but looks like a nice way to get the article from some kind of database I guess?
Does someone knows how this works, or some other way to create new articles etc, some dynamical functionality for instance to generate links to the articles and get the right article from a database for example. thanks!
Wordpress is popular and pretty quick/easy to set up. Just make sure you update when new versions come out.
It's written in php and uses myqsl by default as the database. Lots of ready to use themes and plugins are available, often for free.
http://wordpress.org/
Its the basic functionality of any content management system.
Essentially it boils down to:
- Extract identifier from URI
- Look up data associated with that identifier in a database
- Insert that data into a template
精彩评论