Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,305 members, 7,829,717 topics. Date: Thursday, 16 May 2024 at 10:56 AM

Embedding News Headlines On Your Webpage? - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Embedding News Headlines On Your Webpage? (1060 Views)

$500 Instantly For All Just By Reading Global News Headlines / Help! How To Pull Data From Database And Display On A Webpage / Converting Html/webpage To Pdf With Php, Asp.net, Java And Others (2) (3) (4)

(1) (Reply) (Go Down)

Embedding News Headlines On Your Webpage? by xdos(m): 6:03pm On Jul 27, 2006
How do I embed news on my site? that is if I want the headlines in www.ngrguardiannews.com to show on my site, how do I do it? is there a script for it?
Thanks
Re: Embedding News Headlines On Your Webpage? by lagerwhenindoubt(m): 12:39am On Jul 28, 2006
Well, for me it'll depend on if the news site has rss feeds, if it does then AJAX and some php or asp is required to retrieve the feeds and display in your customized format (using css)

Try http://www.dynamicdrive.com/ for code on working with RSS feeds

If you are looking at guardian, then you can outrightly frame the page which is unprofessioal for me personally (why hijack someones work) Or, if you know HTML DOM, you can use ASP or php to read the page (fortunately there's some css tags so it is easy to identity what is a news link and what is not, read the links and pull out titles and urls to dynamically create your own links when the user visits your page, though i prefer the Ajax method,

here's a link that does it in RSS http://www.dynamicdrive.com/dynamicindex18/index.html

Or if you want to rIPP the page and put it on yours you will need to invoke the WinHTTP component (only works on IIS 5-6) so this is ASP country

http://www.builderau.com.au/program/html/soa/Server_side_Web_page_ripping/0,39028420,39213723,00.htm
Re: Embedding News Headlines On Your Webpage? by smartsoft(m): 1:00pm On Jul 28, 2006
largeman A. K. A Greg lol could you buzz me again on my Yahoo Id i need to talk to ya, i could see your Id on my list again, php_guy_uche thats my id again
Re: Embedding News Headlines On Your Webpage? by xdos(m): 8:44pm On Jul 28, 2006
Thanks Lager,
Let me work on it now,  Am grateful,

Do you have a tutorial on Ajax?
I have the community version installed on my apache webserver.
I just installed it today and I tried creating MyFirstApp.html but the apache webserver could not display the page http://localhost/MyFirstApp.html but I can just view it straight on IE using webserver/xampp/htdocs/MyFirstApp.html.

The error that came up while tryin to view it on localhost was "permission denied".

(1) (Reply)

How To Code A Script That Can Send Email? / Silly Questions Clients Ask Their Web Host / The Web Design Process | How Do You Design Your Client Websites ?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.