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 February 2nd, 2006, 08:13 PM
fulltiltpayback fulltiltpayback is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 86 fulltiltpayback User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 h 37 m 57 sec
Reputation Power: 4
Im in RSS feed hell

Hi all, hoping for some tips. I've been trying unsuccessfully for days to get an RSS feed to work correctly.

I need the content of the feed to appear in my page source, so that the SE spiders can observe that my content is constantly updating, changing.. I recently learned that my java feed was useless in this regard...

An example of the newfeed in action, (the scrolling text), all content visible in the page source is here, and it appears they used PHP:

http://www.pokergazette.com/

the RSS feed I want to include on my site is here: http://www.pokergazette.com/trak/fclick.php?fid=rss

I've tried various java boxes but can't get things to work correctly.

What can I use, to format and convert an RSS feed on the fly? A script to put on my page, that will update as the feed updates?

Thanks in advance,

Chris

Reply With Quote
  #2  
Old February 3rd, 2006, 01:01 AM
MobyKnows's Avatar
MobyKnows MobyKnows is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 141 MobyKnows User rank is Lance Corporal (50 - 100 Reputation Level)MobyKnows User rank is Lance Corporal (50 - 100 Reputation Level)MobyKnows User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 4 Days 18 h 14 m 44 sec
Reputation Power: 4
Hi Chris,

I've never used it, but I've heard quite a lot about RSS2HTML http://www.rss2html.com/ as a solution for problems similar to yours. Good luck!
__________________
SEOFTW.

Reply With Quote
  #3  
Old February 4th, 2006, 12:33 AM
alex mind alex mind is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 46 alex mind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 34 m 2 sec
Reputation Power: 0
Question Rss ....

Hi frnds .. i am new to RSS and am quite confused over its usage.
Have gone through the text documents explaining the RSS meaning.

But practically i am not able to get it working.
To be specific i have made the dummy XML file but am struck wht to do after that.
I mean how to connect the file that i have made to the site.
DO I need any XML compiler for that? or any specific validator.

Thanks in advance.
Alex Mind.

Reply With Quote
  #4  
Old June 25th, 2006, 01:06 PM
ukgamblingforum ukgamblingforum is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 1 ukgamblingforum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 36 sec
Reputation Power: 0
easy RSS in Java

I managed to get this very problem sorted using a bit of jsp: -

here's the code to spew the feed into a web-page, and replace all the urls with your own for certain key-phrases.

file:rss.jsp
Code:
 
<%@ page import="erigena.com.*" %> 
 
<%@page  import="java.net.URL, 
  com.sun.syndication.feed.synd.SyndFeed,
                 com.sun.syndication.io.SyndFeedInput,
         com.sun.syndication.feed.synd.SyndEntry,
         com.sun.syndication.io.XmlReader,
         com.sun.syndication.feed.synd.SyndContentImpl,
         java.util.*"
 contentType="text/html;charset=UTF-8"


%>
<%@ page import="org.jdom.*" %> 
   
 <%! public String genRss(String url, boolean showFeedURI, boolean showFeedSource,boolean showFeedPreview, boolean showFeedArticle, int textLengthToDisplay)
{ 
	//String url = "http://www.pokergazette.com/trak/fclick.php?fid=rss"; 
	String outputStr="";
	String temp="";
	String temptwo="";
	
 
try {
		
		  URL feedUrl = new URL(url);
		  SyndFeedInput input = new SyndFeedInput();
		  SyndFeed feed = input.build(new XmlReader(feedUrl));
		  List al = feed.getEntries();  
		   
		  if(showFeedSource)
		   {
		   		outputStr+="<h3>New posts from: <a href=\""+feed.getUri()+"\">"+feed.getTitle()+"</a> </h3>";
		   }
		  
		  for (Iterator it = al.iterator (); it.hasNext (); ) 
		  {
		  	 SyndEntry entry = (SyndEntry) it.next ();
		  		
		  		outputStr+="<h4>"+entry.getTitle()+"</h4>";
		  	  
			   if(showFeedPreview)
			   {
			    	temp= entry.getDescription().getValue();
			    	
			   		
			         if ((showFeedPreview)&&(temp.length()>textLengthToDisplay))
			         {
			         	temp=temp.substring(0,textLengthToDisplay);
			         	temp+="..."+"<a href=\""+entry.getUri()+"\">[Read This Article]</a></p>";
			         	
			         }

		          
		        	 outputStr+=temp;
		       }
		       else
		       if(showFeedArticle)
		       {	temp= entry.getDescription().getValue();
		       		outputStr+=temp;
		       		  /*
		       		  List theContents=entry.getContents();
		       		  for (Iterator it2 = theContents.iterator (); it2.hasNext (); ) 
		       		  	{
		       		  	//outputStr+=entry.getDescription().getValue();
		       		  		SyndContentImpl theEntry=(SyndContentImpl) it2.next ();
		       		  		outputStr+=theEntry.getValue()+"!!!";
		       		 	} 
		       		 	*/
		       		//outputStr+=entry.getDescription().getValue();
		       		//outputStr+="In Show Feed Article";
		       		// outputStr+=showRssArticle(entry.getUri(), false);
		       		 
		       		//genRss(entry.getUri(), false, false,false,true,0);
		       
		       }
			  
		   } 
     }
	 catch (Exception ex)
	 {
	 	 ex.printStackTrace();
	 }
	 

	 
	return(changeLinks(outputStr));
 
	   
}
%>
 
 <%! public String changeLinks(String in)
{ 
	String out=in.replaceAll( "Party Poker", "<a href=\"\\PokerRooms/partypoker\">Party Poker</a>" );
	out=out.replaceAll( "Canbet", "<a href=\"\\PokerRooms/canbet\">Canbet</a>" );
	out=out.replaceAll( "Noble Poker", "<a href=\"\\PokerRooms/noblepoker\">Noble Poker</a>" );
	out=out.replaceAll( "Poker Room", "<a href=\"\\PokerRooms/pokerroom\">Poker Room</a>" );
	out=out.replaceAll( "Absolute Poker", "<a href=\"\\PokerRooms/absolutepoker\">Absolute Poker</a>" );
	out=out.replaceAll( "Pacific Poker", "<a href=\"\\PokerRooms/pacificpoker\">Pacific Poker</a>" );
	out=out.replaceAll( "Ultimate Bet", "<a href=\"\\PokerRooms/ultimatebet\">Ultimate Bet</a>" );
	out=out.replaceAll( "CD Poker", "<a href=\"\\PokerRooms/cdpoker\">CD Poker</a>" );
	out=out.replaceAll( "William Hill", "<a href=\"\\PokerRooms/williamhill\">William Hill</a>" );
	out=out.replaceAll( "Will Hill", "<a href=\"\\PokerRooms/williamhill\">William Hill</a>" );
	out=out.replaceAll( "Empire Poker", "<a href=\"\\PokerRooms/empirepoker\">Empire Poker</a>" );
	out=out.replaceAll( "32 Red", "<a href=\"\\PokerRooms/32red\">32 Red</a>" );
	out=out.replaceAll( "Paddy Power", "<a href=\"\\PokerRooms/paddypower\">Paddy Power</a>" );
	
	return(out);

}%>
 
<!-- //String url showFeedURI showFeedSource, showFeedPreview, showFeedArticle, textLengthToDisplay !-->


[in the show-Poker-articles.jsp file]
Code:

<p id="top">
 
 <%@ include file="rss.jsp"%> 
 <%
	boolean showuri=true;
	boolean showfeedsource=false;
	boolean showfeedpreview=true;
	boolean showfeedarticle=false;
%>
<%=genRss("http://feeds.feedburner.com/pokergazette", showuri, showfeedsource,showfeedpreview,showfeedarticle,255  )%>
 
</p>


the result?
http://ukgamblingforums.co.uk/poker-articles.jsp

hope this helps
and let me know if i can help you out with anything else!
Regards
paul
admin at http://ukgamblingforums.co.uk - UK Gambling forums (UKGF)

Last edited by FogHorn : June 25th, 2006 at 01:38 PM. Reason: links removed

Reply With Quote
  #5  
Old July 12th, 2006, 09:20 PM
mebrandon mebrandon is offline
Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 51 mebrandon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 2 m 12 sec
Reputation Power: 0
If you use Wordpress, I have had success with...

a plugin called feedwordpress.

Mark @ Viralinks
Free Link Building E-Course at www.viralinks.com

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesBlogs, Tagging, RSS Feeds > Im in RSS feed hell


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 1 hosted by Hostway
Stay green...Green IT