Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 16-04-2008, 09:02 PM
SidekickWD's Avatar
Member
 
Join Date: Feb 2008
Location: Arizona
Posts: 67
Default

*grumbles* stupid header....can't seem to change it.
__________________
Fortune cookie says: "You will be successful, if you don't screw up."
SidekickWebDesign.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #12 (permalink)  
Old 16-04-2008, 09:31 PM
SidekickWD's Avatar
Member
 
Join Date: Feb 2008
Location: Arizona
Posts: 67
Default

OKay, I'm feeling very very stupid right now. But I cannot figure this out. I need to the the info from here to display on his website on a daily basis. I have been messing with the SpringWidgets and I really don't know if this is what I need or not.

Am I way off?
__________________
Fortune cookie says: "You will be successful, if you don't screw up."
SidekickWebDesign.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #13 (permalink)  
Old 17-04-2008, 07:43 AM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Posts: 15,724
Default

This is mine I just built, but there's alot of stories about design, Private Investigator is very limited, thus the feed will be empty most of the time. Try and find am actual private investigator feed it may help

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #14 (permalink)  
Old 23-04-2008, 06:21 AM
skunkbad's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Temecula, California, USA
Posts: 40
Default

Quote:
Originally Posted by SidekickWD View Post
I'm probably not calling it by the right name, or something, but what I need for a clients site seems simple and I cannot figure it out.

I need to create a way for news feeds from other sources to automatically load onto my clients page and refresh every day.

I've seen it on other websites, but I can't figure out how to do it. Any help out there?

~B
If you know a little php, you can make your own, which is usually customized depending on the XML or RDF that is being fed. An RSS feed is nothing but XML, and XML is easily parsed and output using php's built in SimpleXML class, or if you don't have php5, there are many classes to parse XML in php4.

For instance, here is some code I came up with that imports a daily bible verse from an RSS feed:

PHP Code:
                print("<div class='greenbox-top'></div>
                    <div class='greenbox-bg'>
                    <h2>Verse Of The Day</h2>"
);
                        
$feed simplexml_load_file('http://www.biblegateway.com/usage/votd/rss/votd.rdf?9');
                        
$namespaces $feed->getNamespaces(true);
                        
$content $feed->channel->item->children($namespaces['content']);
                        
$verse $feed->channel->item->title;
                        echo (
"<p>".$verse."".str_ireplace('<br/><br/> Brought to you by <a href="http://www.biblegateway.com">BibleGateway.com</a>. Copyright (C) KJV. All Rights Reserved.','',$content->encoded)."</p>");
                    print(
"</div>
                <div class='greenbox-bottom'></div>"
); 
__________________
Brian's Web Design - Temecula

Last edited by skunkbad; 23-04-2008 at 06:22 AM. Reason: formatting got messed up
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:37 AM.



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5