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 ... 19, 20, 21 ... 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
speechles
Revered One


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

PostPosted: Sun Nov 14, 2010 9:18 pm    Post subject: Reply with quote

JoelP53 wrote:
lOk so i did that but now i have those damn \'s again, and yes my eval-tcl is set to 0 per say the read me. :-/

Elucidation is required. So here we go...

Evaluate-tcl is set to 1. Use the example below. triple escape (\\\) all brackets [].
Code:
"output"    "\\\[\002\00310Wired\003\002\\\] @@item!title@@ - \00312@@item!link@@\003"


Evaluate-tcl is set to 0. Use the example below. single escape (\) all brackets [].
Code:
"output"    "\[\002\00310Wired\003\002\] @@item!title@@ - \00312@@item!link@@\003"

Wallah.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
JoelP53
Voice


Joined: 14 Nov 2010
Posts: 8

PostPosted: Sun Nov 14, 2010 9:43 pm    Post subject: Reply with quote

Yeah thanks i figured out what you meant by reading the other post you linked to, Thankyou again Very Happy
Back to top
View user's profile Send private message AIM Address
Fisch.666
Voice


Joined: 15 Nov 2010
Posts: 1

PostPosted: Mon Nov 15, 2010 10:53 pm    Post subject: Reply with quote

Hi!

First thanks for this great script! I'm using version 0.5b2 which works without a problem.

But i have a question to the output of this script, i hope this wasn't asked before:

Are there any chances to split the content of the <description></description> rss tag into 2 or 3 messages?

Thanks in advance for a reply.
Back to top
View user's profile Send private message
JoelP53
Voice


Joined: 14 Nov 2010
Posts: 8

PostPosted: Tue Nov 16, 2010 8:56 am    Post subject: Reply with quote

Sorry for another question, But does this script have multiple line suport, I.E:

Bot< :: [Wired] Title :: Description ::
Bot< :: [URL] Url

If so how do i do it please, iv looked at all the info included and couldn't find anything, And i think it would be awesome if it had it, Mainly for the !rss command that P.M's the user more info.
Back to top
View user's profile Send private message AIM Address
speechles
Revered One


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

PostPosted: Tue Nov 16, 2010 9:12 pm    Post subject: Reply with quote

JoelP53 wrote:
Sorry for another question, But does this script have multiple line suport, I.E:

Bot< :: [Wired] Title :: Description ::
Bot< :: [URL] Url

If so how do i do it please, iv looked at all the info included and couldn't find anything, And i think it would be awesome if it had it, Mainly for the !rss command that P.M's the user more info.


Use \n for newline.
Code:
"output"    "\[\002\00310Wired\003\002\] @@item!title@@ - @@item!description@@\n\00312@@item!link@@\003"

Something along those lines should get you started.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
JoelP53
Voice


Joined: 14 Nov 2010
Posts: 8

PostPosted: Sat Nov 20, 2010 2:45 pm    Post subject: Reply with quote

Thanks bud worked a charm Smile
Back to top
View user's profile Send private message AIM Address
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Mon Nov 22, 2010 1:58 pm    Post subject: Reply with quote

Hey. Nice one. Thanks a lot.
Got mine working now
Is it possible to get the Time Data changed.
Right now its 2010-11-22T19:11:33+01:00

I would like to get it in this way
Date: 22.11.10 - Time: 19:11:33
Back to top
View user's profile Send private message
Darkstylo
Voice


Joined: 12 Oct 2010
Posts: 2

PostPosted: Tue Nov 23, 2010 4:38 am    Post subject: Reply with quote

Hi i've been using RSS synd for a while now and it works great, however i would like to make 1 request. Is there a possibility to make the trigger output variable?

for example
!googlenews 10

That it would parse the last 10 topics?
Also that the variable only accepts up to 10 not more for spam of course.
Back to top
View user's profile Send private message
Unity
Voice


Joined: 24 Nov 2010
Posts: 1

PostPosted: Wed Nov 24, 2010 1:22 pm    Post subject: Reply with quote

Hi guys ,

I'm trying to use the phpbb 3 atom feed with this script.
It is working nicely , but i'm not able to show a few words of the new post.
It just shows the title and the link to it.

How am i supposed to do this ?
Been trying to edit the tcl , nothing good really came out of this :p

Thanks !
Back to top
View user's profile Send private message
adi2247
Voice


Joined: 30 Nov 2010
Posts: 10

PostPosted: Tue Nov 30, 2010 12:54 am    Post subject: Reply with quote

Script has been working great however it seems to be confused with the most recent post from a feed as it is not recognizing that it has already posted to the chat. every 15min is posts the same headline over and over. rehashing the script/triggering it again has not ended the loop. any tips?

*edit*

got the above fixed. Another minor issue poped up. I have a rss feed updated every 2 min on an internal lan that the script checks every 5m and should be posted to chat every 5 min (the title/description and link are timesstamped each time so it always apears as a new post)

i can see the script checking every 5 min from httpd logs, and no errors there. also !trigger shows the updated feed every 5 min, however it doesn't automaticly post every 5min to chat. I am using a base v0.5b1 install

Code:
set rss(test) {
                "url"                   "http://192.168.0.217/feed.xml"
                "channels"              "#mychan"
                "database"              "./scripts/feeds/test.db"
                "evaluate-tcl" 1
                "output" "\\\[\002\00307@@channel!title@@@@title@@\003\002\\\] @@item!title@@"
                "trigger"               "!trig"
        }
 
set default {
                "announce-output"       3
                "trigger-output"        3
                "remove-empty"          1
                "trigger-type"          0:2
                "announce-type"         0
                "max-depth"                     2
                "evaluate-tcl"          1
                "update-interval"       5
                "output-order"          1
                "timeout"                       60000
                "channels"                      "#mychan"
                "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 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
        }



any ideas? the output line is actually all on 1 line in the script


**edit**
got this all fixed, changed announce output to 1 and also time stamped every link/description/title tag in the entire rss feed that being generated. deleted the old .db file and started it up again. so far so good!


Here's a killer request..... have the ability to post the output to twitter! Speechles, saw your twitter and tweets V3.3. Is it possible to install that and have an output line in the rss script set to automaticly msg itself the trigger and syntax to tweet?
Back to top
View user's profile Send private message
frustro
Voice


Joined: 11 Dec 2010
Posts: 3

PostPosted: Sat Dec 11, 2010 6:42 pm    Post subject: thanks Reply with quote

works great so far. still learning and reading the previous posts.
Back to top
View user's profile Send private message
anotheregglover
Voice


Joined: 13 Jan 2005
Posts: 38

PostPosted: Mon Dec 13, 2010 7:31 am    Post subject: Reply with quote

I've been running rss-synd for years without a problem but after a restart of eggdrop and absolutely nothing changed on my side, the script is killing the bot everytime. There isn't anything "touched" at all in the script and replacing it with the original gives me the same message. What in the world is going on?

Quote:
RSS Syndication Script v0.5b1 (2007-12-17): Loaded.
* touching my copyright suxx Sad
Back to top
View user's profile Send private message
Vadtec
Voice


Joined: 20 Dec 2010
Posts: 1

PostPosted: Mon Dec 20, 2010 11:00 am    Post subject: Reply with quote

Greetings,

I've been looking around the thread, and maybe I missed this, but, is there a patch/hack/setting that will make the script (re)announce a blog post that has had a content update? I have a particular blog post that is continually updated (rather than new posts being made all the time), and I would like for the script to notice the change in the content and do it's thing.

It's been a while since I had to muck with Tcl, so if someone has such a patch/hack I would be most appreciative.

# Eggdrop RSS Syndication
# -----------------------
# Date: 2007-12-17
# Version: v0.5b1
# Author(s): Andrew Scott <andrew.scott@wizzer-it.com>
# Website: http://labs.wizzer-it.com/

- Vadtec
Back to top
View user's profile Send private message
mat
Voice


Joined: 27 Dec 2010
Posts: 2

PostPosted: Mon Dec 27, 2010 9:58 am    Post subject: Reply with quote

Hey,

who can tell me the output for a twitter hashtag feed like this

with no output it looks like these:
$text - $url

but i should be like these:
[$author] $text - $url


anyone attempt it?

Greetings
Mat
Back to top
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Mon Dec 27, 2010 10:39 am    Post subject: Reply with quote

I want to run the Script on my Forum but i have an admin Section with special User rights. Is it possible to add some rights that the script can get the RSS Feed from that Forum part?
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 ... 19, 20, 21 ... 25, 26, 27  Next
Page 20 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