egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop RSS Syndication (rss-synd) v0.5b1
Goto page Previous  1, 2, 3, ... 25, 26, 27  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
multikon
Voice


Joined: 19 Jun 2004
Posts: 22

PostPosted: Mon Mar 27, 2006 4:36 pm    Post subject: Reply with quote

Hi

Big thx for this great script ..

Can you make an option to use sql ?

and a little timestamp for daily archive ?


thx for reply and cya
Back to top
View user's profile Send private message
vinsoc
Voice


Joined: 02 Feb 2006
Posts: 2

PostPosted: Wed Mar 29, 2006 10:20 am    Post subject: Reply with quote

if output is only this..

"output" "[\002EXAMPLE\002] @@item!description@@"

...it`s not working. (repair please)

if output is this..

"output" "[\002EXAMPLE\002] @@item!title@@ - @@item!description@@

..it works

Trigger works.

/vinsoc
Back to top
View user's profile Send private message
O_M3_
Voice


Joined: 30 Mar 2006
Posts: 1

PostPosted: Fri Mar 31, 2006 12:22 am    Post subject: multiple outputs per article Reply with quote

i use your rss-synd...it work fine but i would like of customization.

same example posted here by neuschnee:

"output" "[\002Blah Blah\002] @@item!title@@ \n URL: @@item!link@@"
could output:
somebot: [Blah Blah] New Article Asfasfasd
somebot: URL: http://link.to.new.article.com

do you can help me? Please

Marcio from Brasil
Back to top
View user's profile Send private message
RGhost
Voice


Joined: 07 Apr 2006
Posts: 3

PostPosted: Fri Apr 07, 2006 2:57 pm    Post subject: Reply with quote

RSS Error: Unable to parse feed properly, parser returned error. "http://forums.cgsociety.org/external.php?forumids=121"

Can u fix it?

Tnx.
Back to top
View user's profile Send private message Visit poster's website
Wayno
Voice


Joined: 10 Apr 2006
Posts: 3

PostPosted: Mon Apr 10, 2006 3:23 pm    Post subject: Reply with quote

hi just wondering how u get this rss feed script to auto display the info of new updates?
Back to top
View user's profile Send private message
duckdown
Voice


Joined: 19 Apr 2006
Posts: 15
Location: gta

PostPosted: Wed Apr 19, 2006 3:15 pm    Post subject: Reply with quote

Will this script display PUBLICALLY to the channel new RSS news? I could care less about the trigger, and would even disable it if I could.

I just want people to be able to idle in the channel catch the headlines.

Thanks
Back to top
View user's profile Send private message MSN Messenger
rubstar
Voice


Joined: 23 Apr 2006
Posts: 2

PostPosted: Sun Apr 23, 2006 5:18 pm    Post subject: Reply with quote

hi.. i've been using v0.2 for a while now.. and the gzip support on 0.3 is great, been waiting for this.

I've got one problem.. if i used the feed trigger in 0.2, the articles of the feed would be displayed with the newest first, and the oldest last. 0.3 gives me the oldest first and the newest last.. is there a way to fix this? could not find a setting to change this.
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Mon May 01, 2006 3:39 am    Post subject: Reply with quote

its not showing the url for me Sad
Back to top
View user's profile Send private message
maxoudu328
Voice


Joined: 02 May 2006
Posts: 4

PostPosted: Tue May 02, 2006 1:28 pm    Post subject: Reply with quote

hello,

I LOVE your script ...

but

....

How i can display the output just with a NOTICE and not in the public channel, beacause it's really bad for my utilisation ...

Thx to ur help :>

C ya
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Wed May 03, 2006 3:17 am    Post subject: Reply with quote

i'm no expert but if you change
putserv "PRIVMSG $chan :$msg"
to "NOTICE $nick :$msg"
it should do the trick
Back to top
View user's profile Send private message
maxoudu328
Voice


Joined: 02 May 2006
Posts: 4

PostPosted: Wed May 03, 2006 4:55 am    Post subject: Reply with quote

Yea i know that but, if i change :



Code:

roc ::rss-synd::outputFeed {feedlist newslist {oldfeed ""}} {
   array set feed $feedlist
   array set news $newslist
   if {$oldfeed != ""} { array set old $oldfeed }

   if {[llength $oldfeed] > 1} { array set last [lindex $old(item) 0] }

   set i 0
   foreach item $news(item) {
      array set tmp $item

      if {([info exists feed(max-output)]) && ($i == $feed(max-output))} { break }
      if {([info exists last(title)]) && ([string match $last(title) $tmp(title)])} { break }
      
      
      putserv "PRIVMSG [join $feed(channels) ", "] :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
      
      incr i
   }
}




by


Code:

roc ::rss-synd::outputFeed {feedlist newslist {oldfeed ""}} {
   array set feed $feedlist
   array set news $newslist
   if {$oldfeed != ""} { array set old $oldfeed }

   if {[llength $oldfeed] > 1} { array set last [lindex $old(item) 0] }

   set i 0
   foreach item $news(item) {
      array set tmp $item

      if {([info exists feed(max-output)]) && ($i == $feed(max-output))} { break }
      if {([info exists last(title)]) && ([string match $last(title) $tmp(title)])} { break }
      

      putserv "NOTICE $nick :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
      
      incr i
   }
}


It dosen't work :> it's the raison of my question Wink
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Wed May 03, 2006 5:34 am    Post subject: Reply with quote

sorry.
did you rehash?
Back to top
View user's profile Send private message
maxoudu328
Voice


Joined: 02 May 2006
Posts: 4

PostPosted: Wed May 03, 2006 6:44 am    Post subject: Reply with quote

yea yea i did, but in the p-l i have an error with this line, so i think it's wrong Smile .

Script dev i need your help plz Sad .
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Wed May 03, 2006 7:56 am    Post subject: Reply with quote

your script is changed from the original

try maybe removing $nick

"NOTICE $nick :[[namespace current]::formatOutput $feedlist $news(channel) $item]"

to

putserv "NOTICE :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
Back to top
View user's profile Send private message
pennst26
Voice


Joined: 12 May 2006
Posts: 8

PostPosted: Fri May 12, 2006 2:44 pm    Post subject: Reply with quote

Hello, hopefully someone can help me fix these errors .
I am trying to run this TCL on Windrop on my local machine (XP)
Here are the steps I have taken and the errors that followed.

After installing TCL and then windrop , I edited the conf file and got windrop to enter my channel. Then I added this to to .conf file
Code:
# source scripts/script.tcl

source scripts/rss-synd.tcl
source scripts/alltools.tcl
source scripts/action.fix.tcl


when I run eggdrop from cmd it then gives this error

Code:
[13:12] Tcl error in file 'eggdrop.conf':
[13:12] can't find package http
    while executing
"package require http"
    (procedure "::rss-synd::init" line 5)
    invoked from within
"::rss-synd::init"
    (file "scripts/rss-synd.tcl" line 889)
    invoked from within
"source scripts/rss-synd.tcl"
    (file "eggdrop.conf" line 1321)
[13:12] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


After some reasonable amount of time on Google, I found a solution that says load http.tcl before all scripts. I had trouble finding a http.tcl , but then I looked in \Windrop\lib\tcl8.4\http1.0 I then copied this file to scripts folder, then called for it to load above the previous scripts. When I run eggdrop now, it says this.
Code:
[13:26] ☻RSS Error☻: Unable to find tls package required for https, unloaded fe
d "https-test".
[13:26] ☻RSS Syndication Script☻: Loaded.

The bot enters channel, and I try some of the scripts default/sample triggers and nothing at all happens. I open eggdrop.log and I have these errors.
Code:
[13:27] Tcl error [::rss-synd::getFeeds]: invalid command name "::http::config"
[13:27] RSS Warning: Couldn't open "./scripts/feeds/bash.db": no such file or directory.
[13:27] [pennst26!neighborho@xbox.ownz.all.console] !bash
[13:28] Tcl error [::rss-synd::getFeeds]: invalid command name "::http::config"
[13:30] Last message repeated 2 time(s).


Anybody know what I am doing wrong here?
How can I fix this?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, ... 25, 26, 27  Next
Page 2 of 27

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber