A Digital Age Deserves A Digital Leader

Putting the ProNetworks Headlines into my site

Putting the ProNetworks Headlines into my site

Postby xxsonyboy4lfexx » Sun Jun 24, 2007 7:13 pm

How do I do this? And if I can do this, can I use my CSS?
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby kanaloa » Sun Jun 24, 2007 7:58 pm

We do have RSS and XML feeds for all the news categories... I'd recommend you use them. And yes, you can then style them using your local CSS.

http://feeds.feedburner.com/Technology_ ... format=xml is an example.
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
President
User avatar
Posts: 11795
Joined: Sun Mar 10, 2002 1:18 am
Location: HI & SC
Real Name: John Derrick

Postby xxsonyboy4lfexx » Mon Jun 25, 2007 12:45 am

How do I do it?
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby imnuts » Mon Jun 25, 2007 1:15 am

xxsonyboy4lfexx wrote:How do I do it?


You just need to create an XML Parser. There are tons of guides out there for doing this for news feeds. I used to have an example of one that took the PROnet feeds and parsed them and styled them some and such, but I can't find it :eek: If I do, I'll post it here, but I do have an example of one that I made for a different purpose here
Image
PRO SUPREME
User avatar
Posts: 7457
Joined: Wed Mar 24, 2004 5:19 am
Location: Boothwyn, Pennsylvania
Real Name: Mark

Postby xxsonyboy4lfexx » Mon Jun 25, 2007 2:12 am

Could you post the example? And ill look up the parser thing
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby imnuts » Mon Jun 25, 2007 11:04 pm

xxsonyboy4lfexx wrote:Could you post the example? And ill look up the parser thing


If i find it, i will. If i can't find it, i may setup my server and see if i can get it working to attempt to recreate it.
Image
PRO SUPREME
User avatar
Posts: 7457
Joined: Wed Mar 24, 2004 5:19 am
Location: Boothwyn, Pennsylvania
Real Name: Mark

Postby xxsonyboy4lfexx » Mon Jun 25, 2007 11:47 pm

Ok thanks man
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby imnuts » Wed Jun 27, 2007 3:28 pm

I found it, but don't have a way to host the file so that you can see the output, but it should run for you and give you the output if you put it in your own PHP file. However, I can't post the code because the forum is basically ripping out everything due to phpBB's really, really strict filter that is still unfixed and should be removed from the code tag, but that's a different story. If you PM me your email address, I'll send the file too you and you can check it out.
Image
PRO SUPREME
User avatar
Posts: 7457
Joined: Wed Mar 24, 2004 5:19 am
Location: Boothwyn, Pennsylvania
Real Name: Mark

Postby gries818 » Wed Jun 27, 2007 8:16 pm

Could you do that for me as well?
Image

Mac OS 10.6.7 - Personal
Ubuntu Server 11.04 - Server
Software Development
User avatar
Posts: 3991
Joined: Wed Jul 07, 2004 6:28 pm

Postby imnuts » Fri Jun 29, 2007 3:12 pm

I'm hosting the file on my Google Pages account/site. It won't show you the output, but at least you can download the file :) http://imnuts.googlepages.com/newspage.php
Image
PRO SUPREME
User avatar
Posts: 7457
Joined: Wed Mar 24, 2004 5:19 am
Location: Boothwyn, Pennsylvania
Real Name: Mark

Next

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 8 guests

cron
cron