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 ... 22, 23, 24, 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
McPupu
Voice


Joined: 07 Jan 2012
Posts: 1

PostPosted: Sat Jan 07, 2012 8:04 am    Post subject: Reply with quote

vladdeh wrote:
someguy wrote:
Is it possible to fix the issue with it only reporting a new news feed when it's the first one in the RSS feed? For example it won't announce a new news article if it's been inserted further down into the RSS feed.


I'd like this also fixed if possible please


I'd like to see this corrected too, because what I've found this scripts works flawlessly otherwise.

One feature I would like to see would be a possibility to limit output number for example 5 (user settable of course) per interval, but still script would catch all news from oldest to newest. This would be handy if bot were offline for hours, and later when back on it would retrieve all unnoticed news to channel. So for example, if rss feed contains 60 news, bot would publish five oldest to channel, and next 5 when user settable interval was met. And continue when all news were published.

Hope someone understand what I mean Smile
Back to top
View user's profile Send private message
shaneo
Voice


Joined: 09 Jan 2012
Posts: 8

PostPosted: Tue Jan 10, 2012 4:22 pm    Post subject: show feeds by trigger only Reply with quote

Hi im using rsssynd0.4. I know this is a 0.5b thread but figured those in here would also know about past versions. So I was wondering if there was a way to disable the announcements to the channel and make it respond to triggers only. Tends to get annoying sometimes I tried setting the sync to a higher time limit but they still respond faster im assuming is because the script fetches new feeds as they happen. But I may be wrong. Any help would be greatly appreciated. Thank You
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Tue Jan 10, 2012 9:34 pm    Post subject: Re: show feeds by trigger only Reply with quote

shaneo wrote:
Hi im using rsssynd0.4. I know this is a 0.5b thread but figured those in here would also know about past versions. So I was wondering if there was a way to disable the announcements to the channel and make it respond to triggers only.

Code:
proc ::rss-synd::feed_callback {feedlist args} {
   ... snipped irrelevant parts...
   if {$feed(announce-output) > 0} {
      [namespace current]::feed_output $feedlist $data $odata
   }
}

Using the code above, seeing how it attempts to output every time it fetches new data it becomes clear how to fix this. Change the default section for the setting found below...
Code:
"announce-output"   0

Because it already comes with an option to do this. It just isn't clear what that option does. This should work in both 0.4 and the current version.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
shaneo
Voice


Joined: 09 Jan 2012
Posts: 8

PostPosted: Wed Jan 11, 2012 1:01 am    Post subject: Re: show feeds by trigger only Reply with quote

speechles wrote:
shaneo wrote:
Hi im using rsssynd0.4. I know this is a 0.5b thread but figured those in here would also know about past versions. So I was wondering if there was a way to disable the announcements to the channel and make it respond to triggers only.

Code:
proc ::rss-synd::feed_callback {feedlist args} {
   ... snipped irrelevant parts...
   if {$feed(announce-output) > 0} {
      [namespace current]::feed_output $feedlist $data $odata
   }
}

Using the code above, seeing how it attempts to output every time it fetches new data it becomes clear how to fix this. Change the default section for the setting found below...
Code:
"announce-output"   0

Because it already comes with an option to do this. It just isn't clear what that option does. This should work in both 0.4 and the current version.


thank you
Back to top
View user's profile Send private message
Mysticales
Voice


Joined: 18 Oct 2011
Posts: 26

PostPosted: Mon Jan 16, 2012 9:13 pm    Post subject: Reply with quote

Hey been having an issue since steams holiday sales, Every day even tho I cleared the db file, even made a new file, seems to call on the same 3 items to report. Yet... those news items arent even in the RSS anymore. So how can these 3 items keep coming up during the day? Is there some sorta backup buffer file I dont know about?
_________________
~Battlez-avec la Mystique?~
Back to top
View user's profile Send private message
IuClik
Voice


Joined: 24 Apr 2008
Posts: 9

PostPosted: Tue Feb 07, 2012 9:54 am    Post subject: facebook Reply with quote

how to create output for facebook rss page

Code:
< 07:02:12> *15:53 * <+ZooLand> [ZooLand Moldova's Facebook Wall]   - http://www.facebook.com/ZooLand.Md/posts/238584956224296
< 07:02:12> *15:53 * <+ZooLand> [ZooLand Moldova's Facebook Wall]  Biscuit? Nu n`am vazut - http://www.facebook.com/photo.php?fbid=315743148476855&set=a.207912332593271.98565.172335606150944&type=1
< 07:02:12> *15:53 * <+ZooLand> [ZooLand Moldova's Facebook Wall]   - http://www.facebook.com/media/set/?set=a.316419385075898.120092.172335606150944&type=1


it`s say me only title of title of foto post, i want for video and album
Back to top
View user's profile Send private message
teegg
Voice


Joined: 04 Apr 2012
Posts: 7

PostPosted: Wed Apr 04, 2012 11:51 am    Post subject: Reply with quote

hey all,

I am new to eggdrop and rss-synd and am getting the following message:

RSS Warning: couldn't open "./scripts/feeds/test1.db": no such file or directory.

i checked all my directory and file permissions and they all look right. I created the feeds directory and that didnt make a difference.

Code:
set rss(test1) {
                "url"                   "http://store.steampowered.com/feeds/news.xml"
                "channels"              "#truth"
                "database"              "./scripts/feeds/test1.db"
                "trigger"               "!@@feedid@@"
        }

set default {
                "announce-output"       3
                "trigger-output"        3
                "remove-empty"          1
                "trigger-type"          0:2
                "announce-type"         0
                "max-depth"             5
                "evaluate-tcl"          0
                "update-interval"       5
                "output-order"          0
                "timeout"               60000
                "channels"              "#channel1"
                "trigger"               "!rss @@feedid@@"
                "output"                "\[\002@@channel!title@@@@title@@\002\] @@item!title@@@@entry!title@@ - @@item!link@@@@entry!link!=href@@"
                "user-agent"            "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2"
        }


any ideas?
Back to top
View user's profile Send private message
teegg
Voice


Joined: 04 Apr 2012
Posts: 7

PostPosted: Wed Apr 04, 2012 1:41 pm    Post subject: Reply with quote

I may have fixed it. I repleaced ./scripts withe ~eggdrop/scripts

but now I get the error:
RSS Warning: user "eggdrop" doesn't exist.
the user exists in passwd file and typing "ls ~eggdrop" works correctly.
Back to top
View user's profile Send private message
teegg
Voice


Joined: 04 Apr 2012
Posts: 7

PostPosted: Thu Apr 05, 2012 10:03 am    Post subject: Reply with quote

I fixed my problem. I was runnign version 0.5 and I guess thati s broken. I downloaded 0.5b1 and it works now.

Another question, is possible to make it announce only if it has a new item since the last announce?
Back to top
View user's profile Send private message
norbert79
Voice


Joined: 06 May 2012
Posts: 4
Location: Hungary

PostPosted: Sun May 06, 2012 7:40 am    Post subject: Reply with quote

Good afternoon everyone!

I would like to ask you for some help regarding the RSS-Synd plug-in for eggdrop.
I have several RSS feeds set, but unfortunately I can't see the announcements in the logs. I am running eggdrop 1.6.20.

Is there some flag to be used in the configuration file, or did I miss something while configuring?

Thank you for your help in advance!

Regards:
norbert79
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Repepioras
Voice


Joined: 04 Jan 2008
Posts: 3

PostPosted: Tue Sep 04, 2012 4:13 am    Post subject: about xml Reply with quote

how can make little hack on this script?
i need where set`s

"url" "hhtp://blabvlabla/rss=$var

sample: !rss name

set "url" hhtp://blabvlabla/rss=name


and bot all info about rss feed get from this link hhtp://blabvlabla/rss=name
Back to top
View user's profile Send private message
unforgiving
Voice


Joined: 27 Oct 2012
Posts: 3

PostPosted: Tue Nov 13, 2012 3:02 pm    Post subject: not working Reply with quote

This script is not working anymore, I don't really knows what happens, but the script just retrieve the information only once. then if you use the trigger its always the same last 3 news.
Back to top
View user's profile Send private message
kerum
Voice


Joined: 11 Jan 2013
Posts: 8

PostPosted: Sat Feb 16, 2013 3:27 am    Post subject: Reply with quote

I've got an issue.
When I rehash:

Code:
 08:24   leetbot          [08:25:51] Tcl error in file 'leetbot.conf':
 08:24   leetbot          [08:25:51] list element in quotes followed by "channels"" instead of space
 08:24   leetbot          while executing
 08:24   leetbot          "array set tmp $rss($feed)"
 08:24   leetbot          (procedure "::rss-synd::init" line 17)
 08:24   leetbot          invoked from within
 08:24   leetbot          "::rss-synd::init"
 08:24   leetbot          (file "scripts/rss-synd.tcl" line 1004)
 08:24   leetbot          invoked from within
 08:24   leetbot          "source scripts/rss-synd.tcl"
 08:24   leetbot          (file "leetbot.conf" line 1395)
 08:24   leetbot          [08:25:51] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


What's going on?
Back to top
View user's profile Send private message
sammy-90
Voice


Joined: 13 Mar 2013
Posts: 1

PostPosted: Wed Mar 13, 2013 8:26 pm    Post subject: Reply with quote

imoro wrote:
Hi,

can someone tell me how I can use the rss-synd-shortlink script?

Thanks, moro
me too... hi all I am starting to use eggdrop and all its features but this is the little bit feature more I really desire to use... the rss-synd-shortlink. So anyone can help us to use it? Question Rolling Eyes
Back to top
View user's profile Send private message
littledaga
Voice


Joined: 12 May 2013
Posts: 6
Location: Amsterdam

PostPosted: Sun May 12, 2013 4:41 pm    Post subject: Reply with quote

Hoping some can help me with the output from rss-synd

Using latest version of rss-synd.tcl
RSS feed - http://www.abgx.net/rss/abcp/posted.rss

Output in channel is
Req 3962 - The_History_Channel_Battle_For_The_Pacific_EUR_PS3-Googlecus PAL BLURAY ggl-thcbftpe 48x50MB

Script is
"output" "\0037[a.b.console.ps3]\003 @@item!title@@"

How can I remove the req ID and PAL BLURAY ggl-thcbftpe 48x50MB.

Cheers
Si
Back to top
View user's profile Send private message Yahoo Messenger
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 ... 22, 23, 24, 25, 26, 27  Next
Page 23 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