Blogs, Tagging, RSS Feeds
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsSearch Engine StrategiesBlogs, Tagging, RSS Feeds

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old July 15th, 2006, 01:31 PM
noixglacee noixglacee is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 2 noixglacee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 m 21 sec
Reputation Power: 0
Where to put RSS XML Code on Website

I have my ownwebsite, and would like to fill some contents onto the website using RSS feeds from other websites. I know you need to use a RSS feed reader, but where do you put the XML codes? I tried to cut and paste the XML codes onto my webpage, it did not work. If that has to be on the webserver, what extension should I use? Newsgater says use the following to display, http://www.newsgator.com/ngs/subscr...px?url=feed_URL, it would then display Newsgator user login, how do I bypass that, so the readers who goto my webpage would just be able to read the news or the content?

Vivien

Last edited by noixglacee : July 15th, 2006 at 01:35 PM.

Reply With Quote
  #2  
Old July 15th, 2006, 01:41 PM
ezhilraja's Avatar
ezhilraja ezhilraja is offline
Chennai
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Jun 2004
Location: South India
Posts: 2,047 ezhilraja User rank is Sergeant (500 - 2000 Reputation Level)ezhilraja User rank is Sergeant (500 - 2000 Reputation Level)ezhilraja User rank is Sergeant (500 - 2000 Reputation Level)ezhilraja User rank is Sergeant (500 - 2000 Reputation Level)ezhilraja User rank is Sergeant (500 - 2000 Reputation Level)  Folding Points: 51773 Folding Title: Beginner FolderFolding Points: 51773 Folding Title: Beginner FolderFolding Points: 51773 Folding Title: Beginner Folder
Time spent in forums: 1 Month 2 Weeks 4 Days 9 h 40 sec
Reputation Power: 13
Send a message via MSN to ezhilraja Send a message via Yahoo to ezhilraja Send a message via Google Talk to ezhilraja Send a message via Skype to ezhilraja
try somthing like www.rss2html.com
__________________
Custom SEO Search Engine PM me if you want to add your seo site into it.
GooGle in BLACK

Reply With Quote
  #3  
Old July 15th, 2006, 02:07 PM
FogHorn's Avatar
FogHorn FogHorn is offline
hctibselgoogtonmai
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2004
Posts: 1,675 FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 5 h 9 m 38 sec
Reputation Power: 25
Here's a bit of code that will display the rss feed on a php page. (I got it originally from a member at dp). Just put the url of the actual feed into the script where it says FULL URL HERE

Code:
<?php
$insideitem = false;
$tag = "";
$title = "";
$description = "";
$link = "";
function startElement($parser, $name, $attrs) {
 global $insideitem, $tag, $title, $description, $link;
 if ($insideitem) {
  $tag = $name;
 } elseif ($name == "ITEM") {
  $insideitem = true;
 }
}
function endElement($parser, $name) {
 global $insideitem, $tag, $title, $description, $link;
 if ($name == "ITEM") {
  printf("<dt><a href='%s'>%s</a></dt>",
  trim($link),htmlspecialchars(trim($title)));
  printf("<dt>%s</dt><br>",htmlspecialchars(trim($description)));
  $title = "";
  $description = "";
  $link = "";
  $insideitem = false;
 }
}
function characterData($parser, $data) {
 global $insideitem, $tag, $title, $description, $link;
 if ($insideitem) {
 switch ($tag) {
  case "TITLE":
  $title .= $data;
  break;
  case "LINK":
  $link .= $data;
  break;
 }
 }
}
$xml_parser = xml_parser_create();
xml_set_element_handler($xml_parser, "startElement", "endElement");
xml_set_character_data_handler($xml_parser, "characterData");
$fp = fopen("FULL URL HERE","r")
 or die("Error reading RSS data.");
while ($data = fread($fp, 4096))
 xml_parse($xml_parser, $data, feof($fp))
  or die(sprintf("XML error: %s at line %d",
   xml_error_string(xml_get_error_code($xml_parser)),    
   xml_get_current_line_number($xml_parser)));
fclose($fp);
xml_parser_free($xml_parser);
?>
__________________
Web CEO: Ranking Reports, Keyword Research, Link Analysis

Reply With Quote
  #4  
Old July 16th, 2006, 03:22 AM
gcnason gcnason is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 62 gcnason User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 28 m 52 sec
Reputation Power: 3
.net C# version available upon request

the only thing not to do is use one of the javascript solutions. Make sure the RSS is rendered as HTML on the page.

Reply With Quote
  #5  
Old August 8th, 2006, 01:42 AM
noixglacee noixglacee is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 2 noixglacee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 m 21 sec
Reputation Power: 0
Thank you

Thanks for the codes, the php file displays as a separate webpage. How do you have the displays directly on intended webpage?

Reply With Quote
  #6  
Old August 28th, 2006, 03:07 PM
Furniture_SEO Furniture_SEO is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Kamloops
Posts: 40 Furniture_SEO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 30 m 26 sec
Reputation Power: 3
i still don't know how to create RSS feed for your site, is there a free software or online service i can use to generate rss for my webpage?

Reply With Quote
  #7  
Old August 28th, 2006, 03:38 PM
FogHorn's Avatar
FogHorn FogHorn is offline
hctibselgoogtonmai
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2004
Posts: 1,675 FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 5 h 9 m 38 sec
Reputation Power: 25
Quote:
Originally Posted by noixglacee
Thanks for the codes, the php file displays as a separate webpage. How do you have the displays directly on intended webpage?
The php code is to be inserted into an existing page on your site and will display their feed on your page. The links to articles/info will be pointed to the pages on their site, hence the benefit of the rss feed to the originator.
Quote:
Originally Posted by Furniture_SEO
i still don't know how to create RSS feed for your site, is there a free software or online service i can use to generate rss for my webpage?
Most blog, forum , directory software has a function to generate the feed. Otherwise you may look here http://searchenginewatch.com/showPage.html?page=2175271

If that doesn't help, maybe be more specific on exactly what you're trying to do (db type, server, scripting language)

Last edited by FogHorn : August 28th, 2006 at 03:42 PM.

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesBlogs, Tagging, RSS Feeds > Where to put RSS XML Code on Website


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT