SimplePortal

Customization => Custom Coding => Topic started by: iain sherriff on December 04, 2008, 10:05:06 AM

Title: rss block ?
Post by: iain sherriff on December 04, 2008, 10:05:06 AM
smf 1.1.7
sp 2.1.1

so I have the rss block on my portal.   www.uklows.com

but it doesnt sho anything?

i have put this in the URL bit of the block
Code: [Select]
http://www.dragtimes.com/recent-drag-racing-times.rss/code]
and the block is ctive.

What have I missed ?
thanks
Title: Re: rss block ?
Post by: dougsbrat on December 04, 2008, 10:51:00 AM
Nice racing site you are trying to pull the rss from

I added it to mine to test it and got
Quote
XML error: Invalid character at line 68
in the block

I used
Quote
http://www.dragtimes.com/recent-drag-racing-times.rss
for the feed


I even tried the
http://www.rss-to-javascript.com
solution I used before SP added RSS, and it failed too.

I would say its dragtimes feed that is at fault.

Title: Re: rss block ?
Post by: iain sherriff on December 04, 2008, 11:17:21 AM
thanks for trying............
 :)


just tries ussing a BBC feed
Code: [Select]
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/sci/tech/rss.xml
that MUST be working ? but not on my page.

Checked that i've made edits in my theme [tho it doesnt work in default either].

what ele can it be ?
Title: Re: rss block ?
Post by: dougsbrat on December 08, 2008, 10:57:45 AM
I tried BBC on mine...
 
main news area
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml

technology area
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/technology/rss.xml

science/nature area
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/science/nature/rss.xml

works here  ;D

I got a error using your rss link
Title: Re: rss block ?
Post by: iain sherriff on December 10, 2008, 04:52:11 AM
ok, thanks.
can anyone suggest where i check for the fault ?
[nothing in the log]
Title: Re: rss block ?
Post by: dougsbrat on December 10, 2008, 11:09:05 AM
that's strange..
I just tried your rss feed again
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/sci/tech/rss.xml

and it works today!  ;D

they could have had a problem caused by a story that WAS posting in the feed.

try it again
Title: Re: rss block ?
Post by: iain sherriff on December 14, 2008, 11:11:52 AM
put up a test site with smf 2.0 b4.
still no rss in SP ?
could it be a server setting?
Title: Re: rss block ?
Post by: dougsbrat on December 14, 2008, 11:21:53 AM
possably server setting..
also I use SMF 1.1.7 and RSS is fine

you might put up a "test SMF" with that 1.1.7 version to see if its that?
if it still does not work... its the server  >:(
Title: Re: rss block ?
Post by: jb3398 on December 31, 2008, 09:42:16 PM
http://rssnewsapps.ziffdavis.com/extremetechreviews.xml

dougsbrat can you take a look at my rss feed and tell me why it wont update. I was reading were you assisted ian and you seem pretty knowledgeable. if you can assist me it would be greatly appreciated.
Title: Re: rss block ?
Post by: dougsbrat on December 31, 2008, 10:34:33 PM
I put your RSS link on mine to test..
it works!  ;D
but each post from it looks like there is a link that is not processed properly which ends as garbage.

like this
Quote
ExtremetechExtremetech Reviews

The latest hard core technology reviews including graphics, video, cases, monitors, CPUs, Linux distros and more.
iClone 3 Pro Review
Make 3D rendered movies with an interface hauntingly similar to simply playing video games. pa href="http://feedads.googleadservices.com/~a/WgKdsrntUNt9sZhTGZnydoV3l6E/a"img src="http://feedads.googleadservices.com/~a/WgKdsrntUNt9sZhTGZnydoV3l6E/i" border="0" ismap="true"/img/a/pdiv class="feedflare" a href="http://feeds.ziffdavis.com/~f/ziffdavis/ExtremetechReviews?a=RxJFUC7b"img src="http://feedproxy.google.com/~f/ziffdavis/ExtremetechReviews?d=41" border="0"/img/a a href="http://feeds.ziffdavis.com/~f/ziffdavis/ExtremetechReviews?a=KGS6rFbl"img src="http://feedproxy.google.com/~f/ziffdavis/ExtremetechReviews?d=308" border="0"/img/a a href="http://feeds.ziffdavis.com/~f/ziffdavis/ExtremetechReviews?a=LYIduP0N"img src="http://feedproxy.google.com/~f/ziffdavis/ExtremetechReviews?i=LYIduP0N" border="0"/img/a a href="http://feeds.ziffdavis.com/~f/ziffdavis/ExtremetechReviews?a=WApuLswv"img src="http://feedproxy.google.com/~f/ziffdavis/ExtremetechReviews?i=WApuLswv" border="0"/img/a a href="http://feeds.ziffdavis.com/~f/ziffdavis/ExtremetechReviews?a=SVrdscK0"img src="http://feedproxy.google.com/~f/ziffdavis/ExtremetechReviews?d=43" border="0"/img/a /div

I also tried making a RSS using
http://www.rss-to-javascript.com/
to generate the java code, placed in a html block
works like a champ

here is the code if you dont want to do it your self
place this in a html block
Code: [Select]
<script language="JavaScript" src="http://convert.rss-to-javascript.com/?chan=1&simple_chan=1&desc=1&desc_max=50&date=1&src=http%3A%2F%2Frssnewsapps.ziffdavis.com%2Fextremetechreviews.xml&target=new">
</script><noscript>Your browser does not support JavaScript. <a title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter' href=http://www.rss-to-javascript.com/?p=151,381&chan=1&simple_chan=1&desc=1&desc_max=50&date=1&src=http%3A%2F%2Frssnewsapps.ziffdavis.com%2Fextremetechreviews.xml&target=new&as_html=1>Click to read the latest news</a>.</noscript>
 <a href=http://www.rss-to-javascript.com target=_blank title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter'><img src=http://www.rss-to-javascript.com/images/rss-to-jss-small.gif alt='RSS to JavaScript' border=0></a>

Title: Re: rss block ?
Post by: jb3398 on December 31, 2008, 10:54:02 PM
i placed it in an html block did not work
Title: Re: rss block ?
Post by: dougsbrat on December 31, 2008, 11:03:47 PM
strange since it did here  :(

try going here http://www.rss-to-javascript.com/
and create the code yourself...
perhaps something was lost in the transfer (to here, to you)
Title: Re: rss block ?
Post by: [SiNaN] on January 01, 2009, 08:49:23 AM
http://rssnewsapps.ziffdavis.com/extremetechreviews.xml

This works just perfect on my test install, with built-in RSS Feed Block.
Title: Re: rss block ?
Post by: dougsbrat on January 01, 2009, 09:57:09 AM
FYI: I use SMF1.1.7
Title: Re: rss block ?
Post by: [SiNaN] on January 01, 2009, 10:03:25 AM
That doesn't matter, as that block does not depend on SMF functions.
Title: Re: rss block ?
Post by: dougsbrat on January 01, 2009, 10:17:06 AM
then prob. a server setting?

mine has 3 security settings
1 safe mode and other tight settings
2 safe Mode off and not as tight settings
3 wide open

1 SMF would not work properly at all
2 seams fine, but may be a issue that I have not noticed yet?
3 is just crazy  :)
Title: Re: rss block ?
Post by: [SiNaN] on January 01, 2009, 10:23:15 AM
Any errors in the error log?
Title: Re: rss block ?
Post by: dougsbrat on January 01, 2009, 10:48:25 AM
yes a bunch!
there has always been many errors in the log on all SMF forums I have set up on any server, thought that was normal?

clearing them out, quick run around the forum and check error again there are many more.
and this one
Quote
SPortal1-1.template.php (portal_below sub template - eval?)
Line: 58
Title: Re: rss block ?
Post by: [SiNaN] on January 01, 2009, 10:51:46 AM
That probably is not related to SP. Disable template eval and check it again.

What are the other errors?
Title: Re: rss block ?
Post by: dougsbrat on January 01, 2009, 11:03:56 AM
Disable template eval
this is new to me, where is this at?

Title: Re: rss block ?
Post by: jb3398 on January 01, 2009, 11:08:45 AM
It works, I never said it didnt, however try getting it to update. That rss feed has been updated 3 times since I plugged in the url, however my page didnt update.

http://rssnewsapps.ziffdavis.com/extremetechreviews.xml

This works just perfect on my test install, with built-in RSS Feed Block.
Title: Re: rss block ?
Post by: dougsbrat on January 01, 2009, 11:14:58 AM
I never noticed a update issue with the rss block,
but using the java code in a html I have!
some times its perfect, sometimes there is no feed in the block.
Title: Re: rss block ?
Post by: jb3398 on January 01, 2009, 11:58:10 AM
can u plug that url into your rss block and see if it updates. a tech feed should update daily, but it has been 2 weeks and the same feeds.
Title: Re: rss block ?
Post by: dougsbrat on January 01, 2009, 12:03:42 PM
mine still looks a mess..
but I can tell that this is the latest feed it pulled

iClone 3 Pro Review
Make 3D rendered movies with an interface hauntingly similar to simply playing video games......
SimplePortal 2.3.8 © 2008-2024, SimplePortal