PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: st0ne-db on 06 October, 2005, 23:04:04

Title: Console-News & NFOrce RSS Feed Bot
Post by: st0ne-db on 06 October, 2005, 23:04:04
--************************************************************************
--   CONSOLE-NEWS & NFOrce RSS FEED Bot     by: St0ne-db   v.1.0.1
--************************************************************************
--This script was pieced together using code from:
--
--Google.Bot.v.1.0.LUA5-ZD: ZD scripting team
--Web Reader 1.0 : by Mutor The Ugly
--also thanks to bluebear & bastya_elvtars (http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/pxwsa)
--** I do not take credit for their work!! **
-- -St0ne-db
--
--
-- This script requires PxWSA.dll and PtokaX >= 3.3.21
-- PxWSA: http://www.thewildplace.dk/lua/wsa

*edit*
http://www.freetohost.co.uk/mike/Console-NFO+RSS+Feed+Bot.rar   -thx pothead :)
Title:
Post by: GrinSlaW on 06 October, 2005, 23:27:07
the link dont work :-(
Title:
Post by: Pothead on 06 October, 2005, 23:50:15
Console-NFO+RSS+Feed+Bot.rar (http://www.freetohost.co.uk/mike/Console-NFO+RSS+Feed+Bot.rar)
Title:
Post by: GrinSlaW on 06 October, 2005, 23:52:54
tnx  :D
Title: hi there
Post by: Hades on 07 October, 2005, 18:43:19
Nice one - have it installed and runs great but it conflicts with hawk's terminator. Doesn't work when it's on.:((
Title:
Post by: GrinSlaW on 08 October, 2005, 03:15:34
hi
this is a realy nice BOT great work m8  :D

ihave a request thoug can you make so when you type in a command i comes in PM ? or a option so you can choose MAIN or PM

cheers
Title:
Post by: Bumbi on 08 October, 2005, 13:34:46
Great bot  :)  Is there anyway to add some more hosts like from //www.swenews.info ??

Bumbi
Title:
Post by: GrinSlaW on 08 October, 2005, 21:31:42
hi i have tried to mod the bot but i cant get it to work i have added SweCheck to it but i cant get any results in the hubb so if you guy's can see whats wrong in it

["scall"] =
function(user,data)
if (Denial("scall",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scapp"] =
function(user,data)
if (Denial("scapp",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=apps"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scdivx"] =
function(user,data)
if (Denial("scdivx",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=divx"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scdvd"] =
function(user,data)
if (Denial("scdvd",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=dvd-r"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scgame"] =
function(user,data)
if (Denial("scgame",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=games"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scmp3"] =
function(user,data)
if (Denial("scmp3",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=mp3"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scmvids"] =
function(user,data)
if (Denial("scmvids",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=mvids"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scsvcd"] =
function(user,data)
if (Denial("scsvcd",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=svcd"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["sctv"] =
function(user,data)
if (Denial("sctv",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=tv"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scvcd"] =
function(user,data)
if (Denial("scvcd",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=vcd"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,

["scxxx"] =
function(user,data)
if (Denial("scxxx",user) == 1) then return 1 end
--Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/?s=xxx"
    xport=80
    xprot=0
    --END
    SendToNick(usr, "<"..sBot.."> *** Request Sent..  Please Wait")
    OpenSck( xhost, xfile, xport, xprot )                                                                                            
    return 1;
end,


whats happening is it that the bot says that the page coud not be found so if you can find out whats wrong i would be happy. adress to where the feeds is: http://www.swecheck.net/other.asp?huh=misc

cheers
Title:
Post by: bastya_elvtars on 08 October, 2005, 21:52:32
QuoteOriginally posted by Hades
Nice one - have it installed and runs great but it conflicts with hawk's terminator. Doesn't work when it's on.:((

Tell me a DC tool that does NOT conflict with it. :-)
Title:
Post by: st0ne-db on 09 October, 2005, 06:04:56
QuoteOriginally posted by GrinSlaW
hi i have tried to mod the bot but i cant get it to work i have added SweCheck to it but i cant get any results in the hubb so if you guy's can see whats wrong in it

  --Variables:
    xhost="www.swecheck.net"
    xfile="http://rss.swecheck.net/"



the problem is with your variables.
it must be setup like this.....

this is a rss feed for NFOrce.nl
http://www.nforce.nl/rss/rss_11.xml

click on it..... ur web browser should open up a xml file.
all feeds must be in this format... or similar.
to correctly set the variables for this feed, follow these rules:

drop the //http://
and split the rest in to host and file,

xhost = "www.nforce.nl"
xfile = "/rss/rss_11.xml"

then it should work for u.

btw... i have updated the script to make it easier to add and remove feeds... look for it soon :)
Title: I'll be waiting, for sure!
Post by: Jo4kim on 09 October, 2005, 20:41:41
This is a very good script. Liked the nforce part very much. But since Console-News were down, I didn't see that part. Like someone else said earlier, it would be damn nice to just add swecheck.net's rss feeds. And also use swenews.info/bot.php

Thanks, in advance, Joakim.
Title: Console-NFO_RSS-1.0.2
Post by: st0ne-db on 09 October, 2005, 21:21:22
--************************************************************************
--   CONSOLE-NEWS & NFOrce RSS FEED Bot     by: St0ne-db   v.1.0.2
--************************************************************************
--This script was pieced together using code from:
--
--Google.Bot.v.1.0.LUA5-ZD: ZD scripting team
--Web Reader 1.0 : by Mutor The Ugly
--also thanks to bluebear & bastya_elvtars (http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/pxwsa)
--CheckSize and DoTabs from nErBoS Release bot
--Serialize from Entry Bot v1.1g
--** I do not take credit for their work!! **
-- -St0ne-db
--
-- This script requires PxWSA.dll and PtokaX >= 3.3.21

-- Change Log: v1.0.2
-- Added send results in Main Chat or PM
-- Added global user access
-- Added RSS Dat file
-- Added rssadd, rssdel, rssshow Commands (Seperate Admin Access)
-- Added Feed Command Spy for OP's
-- Added support for Yahoo Weather RSS Feeds
--------------------------------------------------------------------------------
-- Yahoo Weather RSS Support- http://xml.weather.yahoo.com/forecastrss?p=XXXXX&u=Z
-- two parameters:  X and Z
--X = 'p' for the location identifier. This can either be a US Zip Code or the location ID as displayed on Yahoo Weather.
--Z = 'u' for units preference. (F)ahrenheit is the default. Use 'C' for celcius.
--------------------------------------------------------------------------------
http://%20www.freetohost.co.uk/mike/Console-NFO_RSS-1.0.2-Fixed.rar


ok here is how to configure and use the script:
 
edit only these variables;
 

-- VARIABLES -------------------------------------------------------------
sBot = "Slo_B";          -- Bot Name
sPrefix = "!";           -- Command Prefix
sResults = "1"           -- Show Results in; 0=Main Chat, 1=PM
sFile = "rssfeed.tbl"    -- RSS Feed Dat File
sFolder = "rssfeed"      -- RSS Feed Folder
xport=80                 -- Port
xprot=0                  -- Protocol  (0=TCP, 1=UDP)
feedspy = "1"            -- Send user feed usage to op's (0=Off, 1=On)
----- END ----------------------------------------------------------------
 
CmdOpt = {
 ["access"] = { --User Access Levels
  [0] = 1,     -- master
  [1] = 1,     -- op
  [2] = 1,     -- vip
  [3] = 1,     -- reg
  [-1] = 0,    -- unreg
    };
   
  ["admin"] = { --User Access Levels    1= can access    0=no access
  [0] = 1,     -- master
  [1] = 1,     -- op
  [2] = 0,     -- vip
  [3] = 0,     -- reg
  [-1] = 0,    -- unreg
    };  
};

["access"] = access for launching feeds
["admin"] = access for adding and deleting of feeds
 
here is how to use the commands
 
!rssshow      - show avaible feeds
!rssdel - delete feed, use !rssshow to find feed #
!rssadd - add a feed
    trigger = what ever command u want to launch the feed
 here is how to find the host and file:
    http://xml.weather.yahoo.com/forecastrss?p=60187        <--------- Yahoo RSS feed (for me, Chicago)
    drop the //http://  ,and seperate the remaing parts into host and file
    host = xml.weather.yahoo.com
    file = /forecastrss?p=60187
ex.
    !rssadd myweather xml.weather.yahoo.com /forecastrss?p=60187 My Local Weather Forecast


**** Edit ****
Fixed a bug... script now works with Xbox-Scene Feeds
Title:
Post by: GrinSlaW on 10 October, 2005, 00:55:25
nice update tnx  :D

but the link is dead  :(


cheers
Title:
Post by: st0ne-db on 10 October, 2005, 00:57:31
QuoteOriginally posted by GrinSlaW
nice update tnx  :D

but the link is dead  :(


cheers

just updated it m8 :)
Title:
Post by: GrinSlaW on 10 October, 2005, 01:03:32
hehe ok  :D

i'll try to dl later then must do somthing first  8)

cheers
Title:
Post by: GrinSlaW on 10 October, 2005, 01:48:04
no error so far nice work m8  :D

but i cant this to work that i hade a problem with before

http://rss.swecheck.net/?s=apps (http://rss.swecheck.net/?s=apps) it is not the same as nforce how should i split this or make it work i have tried this :

xhost = "rss.swecheck.net"
xfile = "/?s=apps"

but i just get this in the bot:

 HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Sun, 09 Oct 2005 23:40:09 GMT
Connection: close
Content-Length: 34
 
-

Bad Request (Invalid URL)



or should i use:

xhost = "www.swecheck.net"
xfile = "/rss.swecheck.net/?s=apps"

ihave no clue  ?(

pleace help me  :(

cheers
Title:
Post by: st0ne-db on 10 October, 2005, 02:16:42
QuoteOriginally posted by GrinSlaW
i cant this to work that i hade a problem with before

http://rss.swecheck.net/?s=apps (http://rss.swecheck.net/?s=apps) it is not the same as nforce how should i split this or make it work i have tried this :

xhost = "rss.swecheck.net"
xfile = "/?s=apps"

but i just get this in the bot:

 HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Sun, 09 Oct 2005 23:40:09 GMT
Connection: close
Content-Length: 34
 
-

Bad Request (Invalid URL)



ihave no clue  ?(

pleace help me  :(

cheers

ok the problem is that you arent requesting a file.
from the feeds i have tested... it would seem that u have to have a feed that is pointing to a file.
sorry  :(
Title:
Post by: GrinSlaW on 10 October, 2005, 02:33:43
ok so it is not possible to get swechecks feed in the bot.

damn well then tnx for your help m8  8)

great bot  :]

cheers
Title: Console-NFO_RSS-1.0.3
Post by: st0ne-db on 10 October, 2005, 16:05:28
--************************************************************************
-- CONSOLE-NEWS & NFOrce RSS FEED Bot by: St0ne-db v.1.0.3
--************************************************************************
http://www.freetohost.co.uk/mike/Console-NFO_RSS-1.0.3.rar

Now supports: rss.swecheck.net

:)
Title:
Post by: GrinSlaW on 10 October, 2005, 16:07:37
wooohoooo my man :D tnx alot for the good news :D damn this day is safe now :)

cheers
Title:
Post by: GrinSlaW on 10 October, 2005, 17:23:00
i have tried the bot now and it works great :)

the weather works to,  nice function :)

good work m8  :D

cheers
Title:
Post by: TTB on 11 October, 2005, 00:19:13
st0ne-db,

G00d job! I do have also a request... What about:
- nldvdr.info
- imdb

Maybe you can make that also in this nice releasebot.
Title:
Post by: st0ne-db on 11 October, 2005, 08:43:43
Same bot... just updated support for feeds. Keep your old rssfeed.tbl file or replace it. new feeds are included.

Total included feeds = 58

--************************************************************************
--   CONSOLE-NEWS & NFOrce RSS FEED Bot     by: St0ne-db   v.1.0.4
--************************************************************************
--This script was pieced together using code from:
--------------------------------------------------------------------------
--Google.Bot.v.1.0.LUA5-ZD: ZD scripting team
--Web Reader 1.0 : by Mutor The Ugly
--also thanks to bluebear & bastya_elvtars ([URL]http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/pxwsa[/URL])
--Serialize from Entry Bot v1.1g
--** I do not take credit for their work!! **
-- -St0ne-db
--------------------------------------------------------------------------
-- *** This script requires PxWSA.dll and PtokaX >= 3.3.21 ***
--------------------------------
-- Change Log: v1.0.4
--------------------------------
-- Added Support for 'sports.espn.go.com' RSS Feeds
-- Added Support for NewzBinz RSS Feeds 'www.jonsthoughtsoneverything.com'
-- Tested Support for 'www.gamespot.com' RSS Feeds
-- Tested Support for 'www.file-portal.net' RSS Feeds
-- Tested Support for 'www.gameslave.co.uk' RSS Feeds

Get it here:      http://st0ne-db.5u.com/
Title:
Post by: st0ne-db on 11 October, 2005, 08:45:27
QuoteOriginally posted by TTB

I do have also a request... What about:
- nldvdr.info
- imdb


post me the links to the rss feeds u want added.... i'll check them out.
Title:
Post by: TTB on 11 October, 2005, 11:04:14
Hi,

I searched for it, but can't find a good feed for nldvdr.info  :(

IMDB is more like the googlebot. There is one in LUA4 (http://board.univ-angers.fr/thread.php?threadid=691&boardid=12)

The team that created the googlebot maybe also like to create and implant it to the google bot (don't know).

Thanx.
Title:
Post by: GrinSlaW on 11 October, 2005, 16:09:19
nice update of the script st0ne-db it works just fine  :D

but i have one thing to set how many hits the bot is returning in the hub for example if i typ !swe-mp3 it comes alot of mp3's but can it be done so it only shows the 10th newest ? and the value can be change and sett to nil

you following me ?  8)

hmm...one more thing the RSS Feed Bot Commands comes in main can you change so it comes in PM all other things comes in pm

and the command !nzb-lm does not work


cheers  8)
Title:
Post by: st0ne-db on 11 October, 2005, 21:11:26
QuoteOriginally posted by GrinSlaW

but i have one thing to set how many hits the bot is returning in the hub for example if i typ !swe-mp3 it comes alot of mp3's but can it be done so it only shows the 10th newest ? and the value can be change and sett to nil

hmm...one more thing the RSS Feed Bot Commands comes in main can you change so it comes in PM all other things comes in pm

and the command !nzb-lm does not work


cheers  8)

the nubmer of items displayed depends on the xml data... which i cannot change...


but...   'nzb-lm'    -Fixed
and     'rssshow'  -Results to PM added

:)

http://st0ne-db.5u.com/
Title:
Post by: GrinSlaW on 11 October, 2005, 21:15:07
ok i thought so  ;)  but it is not so important

nice tnx for that  :D  good worl m8  8)

cheers
Title:
Post by: uffetjur on 13 October, 2005, 00:04:11
More feeds!

http://www.qvanton.com/rel/rss/rss1.asp20 latest releases all kategories
http://www.qvanton.com/rel/rss/rss2.asp20 latest - TV
http://www.qvanton.com/rel/rss/rss3.asp20 latest DVDR
http://www.qvanton.com/rel/rss/rss4.asp20 latest XVID/DivX
http://www.qvanton.com/rel/rss/rss5.asp20 latest PC-Games
http://www.qvanton.com/rel/rss/rss6.asp20 latest MP3
http://www.qvanton.com/rel/rss/rss7.asp20 Latest SVCD
http://www.qvanton.com/rel/rss/rss8.asp20 latest Console

and a suggestion - is it possible to automatic download the feeds to a text / xml file wich would be triggable for users (to save some bandwith)
Title:
Post by: st0ne-db on 13 October, 2005, 06:59:52
QuoteOriginally posted by uffetjur

and a suggestion - is it possible to automatic download the feeds to a text / xml file wich would be triggable for users (to save some bandwith)

you read my mind :)    

--************************************************************************
--   CONSOLE-NEWS & NFOrce RSS FEED Bot     by: St0ne-db   v.1.0.5
--************************************************************************
-- Download:  [URL]http://st0ne-db.5u.com/[/URL]
--
-- This script was pieced together using code from:
--------------------------------------------------------------------------
-- Google.Bot.v.1.0.LUA5-ZD: ZD scripting team
-- Web Reader 1.0 : by Mutor The Ugly
-- also thanks to bluebear & bastya_elvtars ([URL]http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/pxwsa[/URL])
-- Serialize from Entry Bot v1.1g
-- ** I do not take credit for their work!! **
-- -St0ne-db
--------------------------------------------------------------------------
-- *** This script requires PxWSA.dll and PtokaX >= 3.3.21 ***
--------------------------------
-- Change Log: v1.0.5
--------------------------------
-- Added Queue system for feeds, as not to crash PtokaX from heavy ussage
-- Added Cache system that will update feeds, as needed, that exceed 1 hr. old
--------------------------------

get it here:   http://st0ne-db.5u.com/
Title: HelP on RSS feeder bot
Post by: MaveN on 13 October, 2005, 16:59:20
Syntax ...DC++\Downloads\HUB\scripts\Console-NFO_RSS-1.0.3.lua:46: attempt to call global `libinit' (a nil value)
 Am Gettign this Error Can Ne1 PLz help

 MaveN
Title:
Post by: Bumbi on 13 October, 2005, 17:14:33
QuoteOriginally posted by MaveN
Syntax ...DC++\Downloads\HUB\scripts\Console-NFO_RSS-1.0.3.lua:46: attempt to call global `libinit' (a nil value)
 Am Gettign this Error Can Ne1 PLz help

 MaveN

Maven you need this
-- This script requires PxWSA.dll and PtokaX >= 3.3.21
-- PxWSA: http://www.thewildplace.dk/lua/wsa
---------------------------------------------------------------------
I tried 1.0.5 now but I can only get one result then I have to restart the bot after that I can get one result again..
Suggestions stOne-db ??

Bumbi
Title:
Post by: uffetjur on 13 October, 2005, 21:00:14
not an easy script to get...

You do not have permission to access http://st0ne-db.5u.com/Console-NFO_RSS-1.0.5.zip
Data files must be stored on the same site they are linked from.

Thank you for using 50megs
Title:
Post by: st0ne-db on 14 October, 2005, 03:19:52
QuoteOriginally posted by uffetjur
not an easy script to get...

You do not have permission to access http://st0ne-db.5u.com/Console-NFO_RSS-1.0.5.zip
Data files must be stored on the same site they are linked from.

Thank you for using 50megs


sorry.... should be fixed.

make sure u get it directly off the site:  
http://st0ne-db.5u.com/

and for everyone else having problems... make sure u are using version 1.0.5a

pm me any error u get.... i will be sure to fix them :)
Title:
Post by: Bumbi on 14 October, 2005, 17:02:17
I tried 1.0.5 now but I can only get one result then I have to restart the bot after that I can get one result again.. restart then one etc...
Suggestions stOne-db ??

Bumbi
Title:
Post by: uffetjur on 17 October, 2005, 22:54:33
while trying this bot is looks as the script crashes the hub, it closes without error messages
Title:
Post by: Bumbi on 17 October, 2005, 23:15:22
QuoteOriginally posted by uffetjur
while trying this bot is looks as the script crashes the hub, it closes without error messages

Same here ... Running 1.0.4 now that works

Bumbi
Title:
Post by: GrinSlaW on 17 October, 2005, 23:21:33
i think it has something with the queue system or something thats crashes ptokax hope you can look in to it st0ne-db  :)

cheers
Title:
Post by: st0ne-db on 18 October, 2005, 02:08:53
i am working on that problem right now...
but i am busy with school, look for an update soon :)

version 1.0.5a should have a minor bug in the queue system fixed...
Title:
Post by: GrinSlaW on 18 October, 2005, 02:19:31
nice :-) cant wait for that update :-)
aah ok take your time :-)

ok i will redownload it and see tnx m8

cheers
Title:
Post by: kash? on 18 October, 2005, 19:07:48
From where can I d/l this script,
I went on this site > http://st0ne-db.5u.com
and it asks username and password to d/l

and add some feed for soccer results, I didn't see
any feed for sports especially football (soccer)

Regards
Title: Console-NFO_RSS-1.0.6
Post by: st0ne-db on 19 October, 2005, 02:24:48
new version:

--************************************************************************
--   CONSOLE-NEWS & NFOrce RSS FEED Bot     by: St0ne-db   v.1.0.6
--************************************************************************
--This script was pieced together using code from:
--------------------------------------------------------------------------
--Google.Bot.v.1.0.LUA5-ZD: ZD scripting team
--Web Reader 1.0 : by Mutor The Ugly
--also thanks to bluebear & bastya_elvtars ([URL]http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/pxwsa[/URL])
--Serialize from Entry Bot v1.1g
--thx plop (Lua Extension: WsaSocket.lua/Sock.lua - support script for PXwsa.dll)
--------------------------------------------------------------------------
-- *** This script requires PxWSA.dll and PtokaX >= 3.3.21 ***
-- PxWSA: [URL]www.thewildplace.dk[/URL]
--------------------------------------------------------------------------
--** I do not take credit for their work!! **
-- -St0ne-db

--------------------------------
-- Change Log: v1.0.6
--------------------------------
-- Fixed crash when returning feed results
-- Fixed a bug in the Cache system

http://st0ne-db.5u.com/
Title:
Post by: kash? on 19 October, 2005, 18:13:13
How to add custom feeds by yourself
I tried a lot but I always get somer error

I wanted to add feed for soccerway.com
I can see this feed using RssReader
but I am not able to use it using this script
Title:
Post by: DJ-Chris on 19 October, 2005, 22:17:56
QuoteOriginally posted by st0ne-db
--************************************************************************
--   CONSOLE-NEWS & NFOrce RSS FEED Bot     by: St0ne-db   v.1.0.1
--************************************************************************
--This script was pieced together using code from:
--
--Google.Bot.v.1.0.LUA5-ZD: ZD scripting team
--Web Reader 1.0 : by Mutor The Ugly
--also thanks to bluebear & bastya_elvtars (http://ptxwiki.psycho-chihuahua.net/doku.php/scriptinghelp/pxwsa)
--** I do not take credit for their work!! **
-- -St0ne-db
--
--
-- This script requires PxWSA.dll and PtokaX >= 3.3.21
-- PxWSA: http://www.thewildplace.dk/lua/wsa

*edit*
http://www.freetohost.co.uk/mike/Console-NFO+RSS+Feed+Bot.rar   -thx pothead :)

Can u make this another dbase from another website?
Title:
Post by: st0ne-db on 19 October, 2005, 22:22:45
QuoteOriginally posted by kash?
How to add custom feeds by yourself
I tried a lot but I always get somer error

I wanted to add feed for soccerway.com
I can see this feed using RssReader
but I am not able to use it using this script

ok... wow.. that feed is really long.. over 1000 lines.
but it still should work if u do it like this:

this is the link to the feed u want:
http://syndication.soccerway.com/rss/feed2.php

to add feeds use the !rssadd command:

syntax: !rssadd
for your feed the command would be:

!rssadd soccer syndication.soccerway.com /rss/feed2.php SoccerWay.com

now.. i used soccer for the trigger, but u can use what ever u want. the trigger is the command to launch the feed. so to view the feed just added...

!soccer

hope this helps.
Title:
Post by: GrinSlaW on 19 October, 2005, 22:50:29
QuoteOriginally posted by DJ-Chris
can u make another website?

maybe this http://st0ne-db.5u.com/  :rolleyes:
Title:
Post by: uffetjur on 20 October, 2005, 23:22:48
404 Error - File Not Found
The page or file you are looking for (http://st0ne-db.5u.com/index.html) is not here.
Title:
Post by: Psycho_Chihuahua on 20 October, 2005, 23:45:38
http://ptokax.psycho-chihuahua.net/Scripts/Console-NFO_RSS-1.0.6.rar
Title:
Post by: bastya_elvtars on 21 October, 2005, 00:00:46
QuoteOriginally posted by Psycho_Chihuahua
http://ptokax.psycho-chihuahua.net/Scripts/Console-NFO_RSS-1.0.6.rar

Next time upload to the script database, bad boy. :P
Title:
Post by: st0ne-db on 21 October, 2005, 00:19:05
also now avaible here.... thx pothead.  :D

http://www.freetohost.co.uk/mike/St0ne_db/index.html
Title:
Post by: uffetjur on 21 October, 2005, 01:40:30
Sry to say - Script still crashes hubsoft
received system busy please try again, did and ptokax crashed
Title:
Post by: Psycho_Chihuahua on 21 October, 2005, 08:55:27
QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by Psycho_Chihuahua
http://ptokax.psycho-chihuahua.net/Scripts/Console-NFO_RSS-1.0.6.rar

Next time upload to the script database, bad boy. :P

hehe  :D
Title:
Post by: BigHawk on 21 October, 2005, 18:23:11
Tks st0ne-db
Nice script

Worked with no problems :)
Title:
Post by: uffetjur on 24 October, 2005, 21:21:58
done anything to the script yet?
last version still crashes hubsoft
Title:
Post by: TTB on 27 October, 2005, 00:50:47
I also used this file: pxwsa.dll  to make a script. And my PtokaX also crashes when I put the connection in the timer. So it keeps connecting every 60 seconds, and it keeps crashing at least once in 24 hours... Is there someting wrong with the plugin or with the hubsoft?
Title: why not pm?
Post by: gander on 01 November, 2005, 20:00:36
is it possible to get it to show the rss feed in pm instead of main
Title:
Post by: st0ne-db on 02 November, 2005, 17:14:47
QuoteOriginally posted by gander
is it possible to get it to show the rss feed in pm instead of main


that feature was added in version 1.0.2..... check the changelog and set the variables at the top of the script.


-- Change Log: v1.0.2
-- Added send results in Main Chat or PM
Title: Re: Console-News & NFOrce RSS Feed Bot
Post by: BrotherBear on 18 March, 2006, 04:05:33
Hi and thanks for this great Script st0ne-db :)

I got this error when I just type space and then hit enter:

Console-NFO_RSS-1.0.6.lua:119: bad argument #1 to `sub' (string expected, got nil)

I do so to make space before i post in main sometimes :)

This is not a big deal, nothing happen it just say that to OP's and higher in main.

Regards,

BrotherBear
Title: Re: Console-News & NFOrce RSS Feed Bot
Post by: st0ne-db on 18 March, 2006, 21:08:31
thanks for the nfo.  ;D

yes... there r some bugs... but im working on re-writing the whole script to utilize BlueBears new version of PxWSA. This was the first script i wrote.. hehe. My aim is to make it more efficient and shorten the code. I will post as soon as i finish, but i am very busy w/ school right now.. so..... as time permits i will work on it.   :)