| View previous topic :: View next topic |
| Author |
Message |
vBm Voice
Joined: 20 Dec 2008 Posts: 6
|
Posted: Tue Feb 24, 2009 5:40 pm Post subject: |
|
|
Is it possible to 'save' last retrieved data from rss and then after new check ( after defined check time has passed ) to compare it with last chunks ... so if it matches not to display 'em ?
(hope i was clear enough with what i'm trying to do) |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Tue Feb 24, 2009 6:13 pm Post subject: |
|
|
You want it not to display old data repeatedly is that what you're saying, because if so that would be awesome, I'd like such a feature as it happens quite frequently sometimes :/ _________________ I see j00! |
|
| Back to top |
|
 |
vBm Voice
Joined: 20 Dec 2008 Posts: 6
|
Posted: Tue Feb 24, 2009 7:08 pm Post subject: |
|
|
| wac wrote: | | You want it not to display old data repeatedly is that what you're saying, because if so that would be awesome, I'd like such a feature as it happens quite frequently sometimes :/ |
exactly wac ... i want not to show old data  |
|
| Back to top |
|
 |
eggysoldier Voice
Joined: 25 Feb 2009 Posts: 7
|
Posted: Wed Feb 25, 2009 11:37 am Post subject: |
|
|
Hi,
I was testing out this script and left the default feed/db in place to try it out and get this:
| Code: | [16:29] RSS Warning: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
[16:29] RSS Database Error: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
|
Any ideas what's wrong? Does it not make those files automatically? |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Wed Feb 25, 2009 6:51 pm Post subject: |
|
|
| eggysoldier wrote: | Hi,
I was testing out this script and left the default feed/db in place to try it out and get this:
| Code: | [16:29] RSS Warning: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
[16:29] RSS Database Error: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
|
Any ideas what's wrong? Does it not make those files automatically? |
It does, if you would have waited it would have happened automagically... *sigh* _________________ I see j00! |
|
| Back to top |
|
 |
eggysoldier Voice
Joined: 25 Feb 2009 Posts: 7
|
Posted: Wed Feb 25, 2009 10:13 pm Post subject: |
|
|
| wac wrote: | | eggysoldier wrote: | Hi,
I was testing out this script and left the default feed/db in place to try it out and get this:
| Code: | [16:29] RSS Warning: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
[16:29] RSS Database Error: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
|
Any ideas what's wrong? Does it not make those files automatically? |
It does, if you would have waited it would have happened automagically... *sigh* |
Well I have been waiting all night now, and am still getting these errors.
Any suggestions? Many thanks for the reply  |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Wed Feb 25, 2009 11:16 pm Post subject: |
|
|
| eggysoldier wrote: | | wac wrote: | | eggysoldier wrote: | Hi,
I was testing out this script and left the default feed/db in place to try it out and get this:
| Code: | [16:29] RSS Warning: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
[16:29] RSS Database Error: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
|
Any ideas what's wrong? Does it not make those files automatically? |
It does, if you would have waited it would have happened automagically... *sigh* |
Well I have been waiting all night now, and am still getting these errors.
Any suggestions? Many thanks for the reply  |
For [censored] sake dude, did you make a feeds directory within the scripts directory? If so which I doubt try to make the path different such as replacing the dot with ~/eggdrop or whatever the name of your folder is... also don't forget to .rehash or .restart _________________ I see j00! |
|
| Back to top |
|
 |
eggysoldier Voice
Joined: 25 Feb 2009 Posts: 7
|
Posted: Thu Feb 26, 2009 6:41 pm Post subject: |
|
|
| wac wrote: | | eggysoldier wrote: | | wac wrote: | | eggysoldier wrote: | Hi,
I was testing out this script and left the default feed/db in place to try it out and get this:
| Code: | [16:29] RSS Warning: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
[16:29] RSS Database Error: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
|
Any ideas what's wrong? Does it not make those files automatically? |
It does, if you would have waited it would have happened automagically... *sigh* |
Well I have been waiting all night now, and am still getting these errors.
Any suggestions? Many thanks for the reply  |
For [censored] sake dude, did you make a feeds directory within the scripts directory? If so which I doubt try to make the path different such as replacing the dot with ~/eggdrop or whatever the name of your folder is... also don't forget to .rehash or .restart |
Thank you, that worked like a charm! |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Thu Feb 26, 2009 6:46 pm Post subject: |
|
|
| eggysoldier wrote: | | wac wrote: | | eggysoldier wrote: | | wac wrote: | | eggysoldier wrote: | Hi,
I was testing out this script and left the default feed/db in place to try it out and get this:
| Code: | [16:29] RSS Warning: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
[16:29] RSS Database Error: couldn't open "./scripts/feeds/slashdot.db": no such file or directory.
|
Any ideas what's wrong? Does it not make those files automatically? |
It does, if you would have waited it would have happened automagically... *sigh* |
Well I have been waiting all night now, and am still getting these errors.
Any suggestions? Many thanks for the reply  |
For [censored] sake dude, did you make a feeds directory within the scripts directory? If so which I doubt try to make the path different such as replacing the dot with ~/eggdrop or whatever the name of your folder is... also don't forget to .rehash or .restart |
Thank you, that worked like a charm! |
yeah np _________________ I see j00! |
|
| Back to top |
|
 |
prg0906 Voice
Joined: 22 Mar 2007 Posts: 12
|
Posted: Tue Mar 10, 2009 8:45 pm Post subject: |
|
|
First of all, awesome script! I have ten feeds running flawlessly. However, I did notice a couple of bugs:
| Code: | | Line 360: [namespace current]::feed_msg $list_type $list_msgs list_targets $nick |
The latest source (version 0.5b1) is missing a $ before list_targets, which causes the !rss command to return nothing. Then, once that error is fixed, when !rss is sent via /msg it returns the name of each feed twice. I don't know the source of that bug, yet. |
|
| Back to top |
|
 |
prg0906 Voice
Joined: 22 Mar 2007 Posts: 12
|
Posted: Tue Mar 10, 2009 11:09 pm Post subject: |
|
|
How do I display a link other than the default using the @@entry!link@@ format? Specifically, I want to match by rel="" attribute. I tried all of the usual suspects, but nothing has worked.  |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Fri Mar 13, 2009 5:44 am Post subject: |
|
|
| prg0906 wrote: | First of all, awesome script! I have ten feeds running flawlessly. However, I did notice a couple of bugs:
| Code: | | Line 360: [namespace current]::feed_msg $list_type $list_msgs list_targets $nick |
The latest source (version 0.5b1) is missing a $ before list_targets, which causes the !rss command to return nothing. Then, once that error is fixed, when !rss is sent via /msg it returns the name of each feed twice. I don't know the source of that bug, yet. |
Not sure what you managed to screw up, but I've had to make no such modification to my script it works just fine, not that I ever have used it, that is until you said something I tried it and it worked just fine. You messed something up there, hence why it doesn't function correctly. _________________ I see j00! |
|
| Back to top |
|
 |
prg0906 Voice
Joined: 22 Mar 2007 Posts: 12
|
Posted: Sun Mar 15, 2009 10:24 am Post subject: |
|
|
| wac wrote: | | Not sure what you managed to screw up, but I've had to make no such modification to my script it works just fine, not that I ever have used it, that is until you said something I tried it and it worked just fine. You messed something up there, hence why it doesn't function correctly. |
Did you verify these assumptions using a fresh copy of the latest version, or simply by verifying that your copy works? The error I included in my post is from a fresh copy of the latest version at: http://labs.wizzer-it.com/projects/rss-synd/rss-synd-0.5b1.zip
So, you're either, using an older copy of the source that doesn't contain the error, or you managed to fix it at some point. Regardless, it exists in the latest version from the source.
//prg |
|
| Back to top |
|
 |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Mon Mar 16, 2009 10:47 am Post subject: |
|
|
Eh you were right was using 0.4 my bad I forgot that I was to lazy to upgrade because I would have had to added in all my feeds again to the other bot I switched some of them to.
Anyhow they (the feeds) really should be stored in some sort of flat file that can be saved in between upgrades of the core script, as such to avoid such situations, but hey whatever, if actually needed I guess I would do it myself, if I cbf to learn it anyways.  _________________ I see j00! |
|
| Back to top |
|
 |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Fri Mar 20, 2009 12:46 am Post subject: |
|
|
| wac wrote: | Eh you were right was using 0.4 my bad I forgot that I was to lazy to upgrade because I would have had to added in all my feeds again to the other bot I switched some of them to.
Anyhow they (the feeds) really should be stored in some sort of flat file that can be saved in between upgrades of the core script, as such to avoid such situations, but hey whatever, if actually needed I guess I would do it myself, if I cbf to learn it anyways.  |
The next version uses an ini like file to store the settings.
| prg0906 wrote: | How do I display a link other than the default using the @@entry!link@@ format? Specifically, I want to match by rel="" attribute. I tried all of the usual suspects, but nothing has worked.  |
The current cookie format for attributes is: @@path!to!element!=attribute@@ (eg: @@entry!link!=href@@) |
|
| Back to top |
|
 |
|