NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Domain Name Discussion Forums > Domain Names > Domain Newbies
Reload this Page RSS Question

Domain Newbies New to domain names? Have your questions answered here.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-11-2006, 11:31 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jul 2006
Location: Gardendale, Texas
Posts: 48
Zhang is an unknown quantity at this point
 



RSS Question


I would like someone to direct me to a WordPress site that has an RSS feed on it. I'm new to this and I want to make sure that I did mine correctly on my webpage. I had thought that the RSS feed would come in and automatically "post" on the front page, but that didn't happen...And if anyone has some information on a good RSS/News Aggregator addon for WordPress, I'd appreciate that too. Thanks!
Zhang is offline  
Old 07-12-2006, 08:25 AM   #2 (permalink)
Senior Member
 
newton's Avatar
Join Date: Jun 2006
Location: Everywhere
Posts: 1,433
newton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant futurenewton has a brilliant future
 


Animal Rescue
Magpie - http://magpierss.sourceforge.net/ is a good one for bringing in feeds and have it on a few of my blogs.

There is one which posts to blogs such as rss2blog or autoblogger but pricey. If you want to go down the quick route a plugin called firstrss will also help from http://wp-plugins.net/plugin/firstrss/

PM me and will show you a couple of the blogs
__________________
The speed of light is faster than sound that's why some people appear bright until they open their mouths
Last edited by newton; 07-12-2006 at 08:30 AM.
newton is offline  
Old 07-12-2006, 08:30 AM   #3 (permalink)
Rom
Senior Member
 
Rom's Avatar
Join Date: Mar 2005
Posts: 2,443
Rom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond reputeRom has a reputation beyond repute
 


Cystic Fibrosis Save a Life Cancer Breast Cancer Animal Rescue Cancer Survivorship Baby Health Baby Health Baby Health Save The Children Save The Children Save The Children VA Tech Memorial Autism Ethan Allen Fund
In Wordpress you could make a page and enter this data as there won't be a need for cron job nor installing the script.

Try www.RSSJava.com for a JavaScript which you can display on HTML pages. The good thing about this is that you can customize from numbers to styles. The bad thing is that it does not display in the source.

If you are looking for a SEO friendly then try this on any PHP Page:

PHP Code:
<?php
/*
Created by Global Syndication's RSS Parser
http://www.globalsyndication.com/rss-parser
*/
set_time_limit(0);

$file "YOUR FEED URL";

$rss_channel = array();
$currently_writing "";
$main "";
$item_counter 0;

function 
startElement($parser$name$attrs) {
       global 
$rss_channel$currently_writing$main;
????: NamePros.com http://www.namepros.com/domain-newbies/216084-rss-question.html
       switch(
$name) {
           case 
"RSS":
           case 
"RDF:RDF":
           case 
"ITEMS":
               
$currently_writing "";
               break;
           case 
"CHANNEL":
               
$main "CHANNEL";
               break;
           case 
"IMAGE":
               
$main "IMAGE";
               
$rss_channel["IMAGE"] = array();
               break;
           case 
"ITEM":
               
$main "ITEMS";
               break;
           default:
               
$currently_writing $name;
               break;
       }
}

function 
endElement($parser$name) {
       global 
$rss_channel$currently_writing$item_counter;
       
$currently_writing "";
       if (
$name == "ITEM") {
           
$item_counter++;
       }
}

function 
characterData($parser$data) {
    global 
$rss_channel$currently_writing$main$item_counter;
    if (
$currently_writing != "") {
        switch(
$main) {
            case 
"CHANNEL":
                if (isset(
$rss_channel[$currently_writing])) {
                    
$rss_channel[$currently_writing] .= $data;
                } else {
                    
$rss_channel[$currently_writing] = $data;
                }
                break;
            case 
"IMAGE":
????: NamePros.com http://www.namepros.com/showthread.php?t=216084
                if (isset(
$rss_channel[$main][$currently_writing])) {
                    
$rss_channel[$main][$currently_writing] .= $data;
                } else {
                    
$rss_channel[$main][$currently_writing] = $data;
                }
                break;
            case 
"ITEMS":
                if (isset(
$rss_channel[$main][$item_counter][$currently_writing])) {
                    
$rss_channel[$main][$item_counter][$currently_writing] .= $data;
                } else {
                    
$rss_channel[$main][$item_counter][$currently_writing] = $data;
                }
                break;
        }
    }
}

$xml_parser xml_parser_create();
xml_set_element_handler($xml_parser"startElement""endElement");
xml_set_character_data_handler($xml_parser"characterData");
if (!(
$fp fopen($file"r"))) {
    die(
"could not open XML input");
}

while (
$data fread($fp4096)) {
    if (!
xml_parse($xml_parser$datafeof($fp))) {
        die(
sprintf("XML error: %s at line %d",
                    
xml_error_string(xml_get_error_code($xml_parser)),
                    
xml_get_current_line_number($xml_parser)));
    }
}
xml_parser_free($xml_parser);


if (isset(
$rss_channel["ITEMS"])) {
    if (
count($rss_channel["ITEMS"]) > 0) {
        for(
$i 0;$i count($rss_channel["ITEMS"]);$i++) {
            if (isset(
$rss_channel["ITEMS"][$i]["LINK"])) {
            print (
"\n<div class=\"itemtitle\"><a href=\"" $rss_channel["ITEMS"][$i]["LINK"] . "\">" $rss_channel["ITEMS"][$i]["TITLE"] . "</a></div>");
            } else {
            print (
"\n<div class=\"itemtitle\">" $rss_channel["ITEMS"][$i]["TITLE"] . "</div>");
            }
             print (
"<div class=\"itemdescription\">" $rss_channel["ITEMS"][$i]["DESCRIPTION"] . "</div><br />");         }
    } else {
        print (
"No News Found");
    }
}
?>
Rom is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 12:56 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger