Jump to content

Newbie needs help w/ XML, PHP, and HTML


thejaykob

Recommended Posts

Ok, so here are my two questions.  BTW, I have already spent a good amount of time scouring the Internet for answers...  As broad as my question may be, I can almost 100% guarantee you I have read every tutorial already.  Yet I cannot make this work. 

 

1.)  I have a website at tirademedia.com.  On my website are various articles (http://tirademedia.com/ft20091025.html, ft20091217.html, et cetera.  What I want is a PHP-based way to extract local content from a centralized location, rather than using a clunky HTML file for each article.  I realize I will first have to centralize my various articles.

 

2.)  If you go to the website breitbart.com, you will see breaking news stories (from an external site).  Clicking on any of them gives you an PHP-based article that IS readable by a web-crawler.  Using PHP, how do I extract external XML data in a similar fashion, and display its content as an article (readable by a web-crawler)?  The XML file I will be working with is http://hosted.ap.org/lineups/TOPHEADS.rss?SITE=AZPHG&SECTION=HOME

 

I am not asking for someone to program this for me--but I would appreciate more than simply a link to a web tutorial that is several years old.  :wtf:

Link to comment
https://forums.phpfreaks.com/topic/187666-newbie-needs-help-w-xml-php-and-html/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.