Hello
is it possible to make a script that shows hockey and football resultate in the hub from att web site
What is the site?
Please use more informative topic titles in the future, thank you.
this http://www.gp.se/gp/jsp/Crosslink.jsp?d=236
If I were you, I'd use the rss bot with the apropriate RSS feeds:
<link rel="alternate" href="http://www.gp.se/rss/index.jsp?d=100" type="application/rss+xml" title="G?teborgs-Posten/G?teborg">
<link rel="alternate" href="http://www.gp.se/rss/index.jsp?d=102" type="application/rss+xml" title="G?teborgs-Posten/Sverige">
<link rel="alternate" href="http://www.gp.se/rss/index.jsp?d=103" type="application/rss+xml" title="G?teborgs-Posten/V?rlden">
<link rel="alternate" href="http://www.gp.se/rss/index.jsp?d=104" type="application/rss+xml" title="G?teborgs-Posten/Sport">
<link rel="alternate" href="http://www.gp.se/rss/index.jsp?d=180" type="application/rss+xml" title="G?teborgs-Posten/N?je">
<link rel="alternate" href="http://www.gp.se/rss/index.jsp?d=110" type="application/rss+xml" title="G?teborgs-Posten/Kultur/Gr?nsl?st">
where can i find this rss bot :)
Try searching the forum.
is there any body ho can fix a rss bot to me ;)
Lito
Quote from: lito on 10 March, 2007, 12:48:03
is there any body ho can fix a rss bot to me ;)
Lito
Quote from: bastya_elvtars on 09 March, 2007, 16:45:40
Try searching the forum.
Like bastya has mentioned already Search the Forum and you will find what you want
well i m using the rss bot with this link for cricket score
http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
but it gives me*** Error: Connection to http: failed!
can some 1 plzz correct me with the rss part of the link
same goes with football
http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/football/rss.xml
and also
http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/tennis/rss.xml
bastya can u plzz check whats going here
thks for help
achiever
ok, i took stone-db's latest Lua 5 RSS Bot V2.3 and mucked around with it so it works on the latest PtokaX 0.3.6.0 (only short 1 rss test done)
could be that there are still some unnoticed bugs in it but your cricket rss works (tested)
be sure to put the pxwsa and cc3270 libs in your ptokax root folder (where ptokax.exe is)
[22:16:24] <Fusion> *** Your request has been placed in queue. Your queue number is: 1
[22:16:42] <Fusion> *** Error: Connection to http: failed!
i m getting this for ne thing i add can ne 1 help me, what am i doing wrong?
Are you using PtokaX 0.3.6.0 ?
Did you put all the libs in the package into your PtokaX Root?
Cause it worked for me (only did 1 test with the cricket rss link you posted)
[18:56:24] <?Feed-Bot?> Added RSS Feed:
Trigger: !cricket
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: cricket
[18:56:24] <?Feed-Bot?> *** New RSS Feed *** Desc: cricket To view, type: !cricket
and like i said it works for me
[18:57:41] <?Feed-Bot?> *** Feed request for:
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Description: cricket
[18:57:41] <?Feed-Bot?> *** Recieving Feed
[18:57:43] <?Feed-Bot?> *** Parsing Feed.....
[18:57:43] <?Feed-Bot?> *** Applying ASCII Filter....
[18:57:43] <?Feed-Bot?> *** Applying ISO 8859-1 Filter....
[18:57:43] <?Feed-Bot?> RSS Feeds By RSS-Bot v2.3 [by St0ne db]
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
? BBC Sport I Cricket I UK Edition
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/default.stm
? Visit BBC Sport for all the action as it happens - up-to-the-minute news, results, breaking news, video, audio and feature stories. BBC Sport covers the major events and all the professional football clubs in the UK, plus cricket, rugby, golf, tennis, motorsport and all the main world sports.en-gbThu, 24 May 2007 16:57:03 GMTCopyright: (C) British Broadcasting Corporation, see http://news.bbc.co.uk/sport1/hi/help/rss/4517815.stm for terms and conditions of reusehttp://www.bbc.co.uk/syndication/15
? BBC Sporthttp://news.bbc.co.uk/sol/shared/img/sport_120x60.gif
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/default.stm
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
my rssfeed.tbl looks like
rssfeed = {
[1] = {
[1] = "cricket",
[2] = "newsrss.bbc.co.uk",
[3] = "/rss/sportonline_uk_edition/cricket/rss.xml",
[4] = "cricket",
},
}
[23:01:16] <?Feed-Bot?> *** PxWSA Error: Host: http://newsrss.bbc.co.uk could not be contacted. Error: 11004, Valid name, no data record of requested type.
now i m getting this
Then 2 Possibilities i can think of
Either you have NOT put the libs in your PtokaX 0.3.6.0 Rootfolder (thats the folder where ptokax.exe is)
or
you have edited the line (which you should leave as it is)
sLibs = frmHub:GetPtokaXLocation(), ---- PxWSA Location
and with both of those 2 possibilities i and noone else can help you
sir i m damn sure i have all the things u have mention correctly.
its showing me error 11004 what does this mean is there some thing else i need to do?
now when i add the feed i get this
Quote[11:39:36] <?Feed-Bot?> Added RSS Feed:
Trigger: !cricket
Feed: http://http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: score bot
[11:39:36] <?Feed-Bot?> *** New RSS Feed *** Desc: score bot To view, type: !cricket
[11:39:36] <?Feed-Bot?> Added RSS Feed:
Trigger: !cricket
Feed: http://http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: score bot
[11:39:48] <?Feed-Bot?> *** Request Queued.
[11:39:48] <?Feed-Bot?> [11:39:47] *** achiever requested:
Feed: http://http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Description: score bot
[11:39:48] <?Feed-Bot?> *** PxWSA Error: Host: http://newsrss.bbc.co.uk could not be contacted. Error: 11004, Valid name, no data record of requested type.
the message rssfeed added comes twice
and instantly as i request feed it gives me the error
here is what my ptokax folder looks like
image was removed by site hosting it
this is supposed to happen:
<?Feed-Bot?> *** PxWSA Error: Host: www.jonsthoughtsoneverything.com could not be contacted. Error: 11004, Valid name, no data record of requested type.
PxWSA will return a error number and error code:
Error: 11004
Valid name, no data record of requested type
My question is why have a feed in your database... and then block its ip?
Of coarse you will get an error.. hehe[/quote]
this is a post from lua board 2 on the same topic, could not understand it on the topic there
http://lua.uknnet.com/thread.php?postid=7471
what does this mean {My question is why have a feed in your database... and then block its ip?}
thks for help.
when adding a feed to this bot DO NOT add the http:// as that is added by the script itself!!
i can see you added it cause look here
[11:39:36] <?Feed-Bot?> Added RSS Feed:
Trigger: !cricket
Feed: http://http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: score bot
should be
[11:39:36] <?Feed-Bot?> Added RSS Feed:
Trigger: !cricket
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: score bot
So dont go ahead saying there are bugs when the Bug is your own fault for not reading the Readme Part inside the script ::)
well i m sorry, i was just trying to get it working for me thats all
some progress i think
Quote[13:11:38] <?Feed-Bot?> Added RSS Feed:
Trigger: !cr
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: scb
[13:11:38] <?Feed-Bot?> *** New RSS Feed *** Desc: scb To view, type: !cr
[13:11:38] <?Feed-Bot?> Added RSS Feed:
Trigger: !cr
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Desc: scb
[13:12:05] <?Feed-Bot?> *** Request Queued.
[13:12:05] <?Feed-Bot?> [13:11:52] *** achiever requested:
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Description: scb
[13:12:05] <?Feed-Bot?> *** PxWSA Error: Host: newsrss.bbc.co.uk could not be contacted. Error: 10060, Attempt to connect timed out without establishing a connection.
[13:12:18] <?Feed-Bot?> *** Request Queued.
[13:12:18] <?Feed-Bot?> [13:12:17] *** achiever requested:
Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Description: scb
[13:12:18] <?Feed-Bot?> *** PxWSA Error: Host: newsrss.bbc.co.uk could not be contacted. Error: 10061, The attempt to connect was forcefully rejected.
error is different atleast ;-)
well like i said it would help if you would read the Readme Part in the script it is all there
--------------- -[ RSS.Feed.Bot.v2.3.LUA5-PtokaX - Features/Notes ]- - ---------
--
----[F.A.Q]-
--
-- Q. Feed [x] doesnt work..?
--
-- A. It is very important that the Host and File are ABSOULTY correct.. or PxWSA will not connect.
--
--
--
-- Q. How to add custom feeds?
--
-- A. Find the URL to the feed: ie: http://www.somehost.com/myfeed/feed.xml
--
-- 1 - Drop the http://
-- 2 - Use the command to add a new feed, !rssadd (by default)
-- 3 - Syntax = !rssadd <trigger to launch feed> <host> <file> <description>
-- To find the <Host> and <File>, split the URL just after the .com, .org, .net, etc
--
-- 4 - !rssadd MyFeed www.somehost.com /myfeed/feed.xml My New RSS Feed
-- /|\ /|\ /|\ /|\
-- | | | |
-- Trigger Host File Description
--
-- 5 - Launch the feed with, !MyFeed
well where did i go wrong this time i cuoldnt c on this read me part
i add trigger as cr
host newsrss.bbc.co.uk
file /rss/sportonline_uk_edition/cricket/rss.xml
desc scb
what was wrong :-(
found a small bug/Typo and updated the script
[09:53:49] <?Feed-Bot?> ** RSS Feed Bot Commands **
# Command Info
*** ********* *****
1. !cricket . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
>>> Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
>>> Description: cricket
2. !footbal . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
>>> Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/football/rss.xml
>>> Description: football
3. !tennis . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
>>> Feed: http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/tennis/rss.xml
>>> Description: tennis
*** View just the websites links, add the 'links' flag to your command: !showfeeds links
working gr88888888888
thanks
thanks
thanks
thanks
thanks
thanks
thanks
thanks
thanks
thanks
....
u made my day sir thaks a lot
achiever
i got a error wile deleting 1 of the newly added rss
[12:33] Syntax ...Hub]\scripts\RSS.Feed.Bot.V2.3.Final.LUA5-PtokaX.lua:555: 'string.gfind' was renamed to 'string.gmatch'
change lines 555 to 557
from
for Cmds in pairs(string.gfind(cmd, "%S+")) do
if string.gfind(Cmds, "\$") then
if string.gfind(Cmds, "$",1,true) then
to
for Cmds in pairs(string.gmatch(cmd, "%S+")) do
if string.gmatch(Cmds, "\$") then
if string.gmatch(Cmds, "$",1,true) then
now i m getting [19:49] Syntax ...Hub]\scripts\RSS.Feed.Bot.V2.3.Final.LUA5-PtokaX.lua:555: bad argument #1 to 'pairs' (table expected, got function)
then you will have to wait for a more talented scripter to come along and fix that as i am out of ideas what could be causing it ???
OK, replace for Cmds in pairs(string.gfind(cmd, "%S+")) do
to for Cmds in string.gmatch(cmd, "%S+") do
in line 555.
working fine thanks
can any one give me full thing here bec i dont know how to update it for 3.0.6. ??? please didnt get any thing how to use please help
well look a bit further up as its attached ::) all you need to do is make the change bastya mentioned
i did every thing is tat right?
when i feed cricket i seen this in new window
<?Feed-Bot?> *** Feed request for:
Feed: newsrss.bbc.co.uk/rss/sportonline_uk_edition/cricket/rss.xml
Description: cricket
<?Feed-Bot?> *** Cached Feed: Less than 1 hr(s) old. [feed will be refreshed after 12 hour(s)]
<?Feed-Bot?> RSS Feeds By RSS-Bot v2.3 [by St0ne db]
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
? BBC Sport I Cricket I UK Edition
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/default.stm
? Visit BBC Sport for all the action as it happens - up-to-the-minute news, results, breaking news, video, audio and feature stories. BBC Sport covers the major events and all the professional football clubs in the UK, plus cricket, rugby, golf, tennis, motorsport and all the main world sports.en-gbFri, 20 Jul 2007 19:37:50 GMTCopyright: (C) British Broadcasting Corporation, see http://news.bbc.co.uk/sport1/hi/help/rss/4517815.stm for terms and conditions of reusehttp://www.bbc.co.uk/syndication/15
? BBC Sporthttp://news.bbc.co.uk/sol/shared/img/sport_120x60.gif
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/default.stm
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? England fight back after collapse
? England reduce India to 145-4 after being bundled out for 298 on day two of the first Test at Lord's.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/england/6907896.stm http://news.bbc.co.uk/sport1/hi/cricket/england/6907896.stm
? Fri, 20 Jul 2007 18:31:17 GMTEngland
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Anderson happy with key wickets
? England bowler Jimmy Anderson reveals his delight at taking the wickets of Rahul Dravid and Sachin Tendulkar.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/england/6909412.stm http://news.bbc.co.uk/sport1/hi/cricket/england/6909412.stm
? Fri, 20 Jul 2007 19:36:24 GMTEngland
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Speed to step down as ICC chief
? Australian Malcolm Speed will step down from his position as ICC chief executive in June 2008.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/6909189.stm http://news.bbc.co.uk/sport1/hi/cricket/6909189.stm
? Fri, 20 Jul 2007 17:10:41 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Leaders Yorkshire made to suffer
? Leaders Yorkshire struggle to 203-8 after day one of their Championship game against Surrey.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/counties/6907102.stm http://news.bbc.co.uk/sport1/hi/cricket/counties/6907102.stm
? Fri, 20 Jul 2007 17:41:35 GMTCounties
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Leics face battle to keep Broad
? Leicestershire admit they face a fight to keep Stuart Broad at Grace Road next season.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/counties/leicestershire/6908911.stm http://news.bbc.co.uk/sport1/hi/cricket/counties/leicestershire/6908911.stm
? Fri, 20 Jul 2007 15:42:53 GMTLeicestershire
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Worcestershire match abandoned
? Worcestershire's weather problems continue as their game with Lancashire is abandoned on the first day.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/counties/6906810.stm http://news.bbc.co.uk/sport1/hi/cricket/counties/6906810.stm
? Fri, 20 Jul 2007 16:01:24 GMTCounties
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? MCC plans talks over Lord's Tests
? The MCC will hold talks with the ECB over fears that Lord's might lose one of its two Tests each summer.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/england/6908280.stm http://news.bbc.co.uk/sport1/hi/cricket/england/6908280.stm
? Fri, 20 Jul 2007 11:18:32 GMTEngland
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Fernando spell floors Bangladesh
? Dilhara Fernando takes four wickets as Sri Lanka beat Bangladesh by 70 runs in the first one-dayer.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/6906633.stm http://news.bbc.co.uk/sport1/hi/cricket/6906633.stm
? Fri, 20 Jul 2007 11:52:00 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Styris to end Durham spell early
? New Zealand Cricket orders Durham's Scott Styris home a week early because of concerns over his fitness.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/other_international/new_zealand/6908184.stm http://news.bbc.co.uk/sport1/hi/cricket/other_international/new_zealand/6908184.stm
? Fri, 20 Jul 2007 10:56:08 GMTNew Zealand
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? England v India schedule
? Fixtures for the 2007 tour to England by India.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/5366280.stm http://news.bbc.co.uk/sport1/hi/cricket/5366280.stm
? Sat, 14 Jul 2007 14:03:10 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? BBC coverage
?
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/4923160.stm http://news.bbc.co.uk/sport1/hi/cricket/4923160.stm
? Mon, 09 Jul 2007 10:36:35 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Mobile scores
? Details of BBC cricket coverage on the move.
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/6575721.stm http://news.bbc.co.uk/sport1/hi/cricket/6575721.stm
? Fri, 20 Apr 2007 13:52:32 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? England v India photos
? Pictures from day two of the first Test at Lord's
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/6908051.stm http://news.bbc.co.uk/sport1/hi/cricket/6908051.stm
? Fri, 20 Jul 2007 09:26:28 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? England v India video archive
? Relive some of the best moments of India's past tours
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/6291802.stm http://news.bbc.co.uk/sport1/hi/cricket/6291802.stm
? Wed, 11 Jul 2007 13:49:17 GMTCricket
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
? Sree Santh keen to make his mark
? India pace bowler ready to rattle England at Lord's
? http://news.bbc.co.uk/go/rss/-/sport1/hi/cricket/other_international/india/6903147.stm http://news.bbc.co.uk/sport1/hi/cricket/other_international/india/6903147.stm
? Wed, 18 Jul 2007 09:31:39 GMTIndia
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
Cached Feed: Less than 1 hr(s) old. [feed will be refreshed after 12 hour(s)]