![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Tegan: re already downloaded feed items
Tegan,
I'm going to reply here to try to keep the sticky code thread clean. You'd be better off starting a new thread when you have questions about specific sticky code items. Otherwise the sticky thread will fill with discussion that lends very little to its purpose of making it easy to look through the sticky code. You probably will need to modify the code for the "skip already downloaded feed items" if you want to apply it to one of my comics recipes. My comics recipes usually pull the "current" comic and the previous day's strip, then the one before that, etc. Thus, the link for "today's" strip is always the same, even though the strip you get from that URL changes. The link for yesterday's strip is usually also unchanged. IIRC, the code for the "skip already downloaded feed items" looks at the URL. Since the URL in at least some of my comics recipes never changes, while the comic you get does change, I suspect that code will not work directly. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2011
Device: Kindle 1st Gen, Kindle 3 SO
|
Ah. I wasn't sure of the etiquette. Although I figured that I couldn't get it to work at all might mean there is a problem on it on Windows? Don't know. I probably just messed it up... I'll try again now that I have more time. Should I delete my note on the other thread, or will that not help?
I'm afraid that modifying the code to make it work with your recipes is probably beyond my current skills. I'm messing up on simple syntax, I don't think I can work out how to get your recipes to not download previously downloaded strips. Or to pay attention to the dates. Now that I've got the rotation thing fixed (thanks again!) getting those recipes to stop downloading repeats would be the only other change to make them perfect, as opposed to incredibly awesome. Right, time to see if I can get the skip already downloaded code to work on a different recipe. |
![]() |
![]() |
![]() |
#3 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
No problem - I'd just like to make it as easy as possible to scroll through that thread for useful code bits.
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2011
Device: Kindle 1st Gen, Kindle 3 SO
|
Quote:
I got the script to sort of work on my Yakima Valley newspaper article. I'm going to play a little more with it and see if it's something I like or not. Mostly I was concerned that I couldn't get it to work at all. It's not something I'd want in a standard recipe, but there are a couple of recipes it might be useful for, if I can figure out how to put it in. |
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to remove already pulled feed items? | MarcDK | Calibre | 2 | 11-12-2010 09:30 AM |
Keep only newest news feed downloaded? | TonytheBookworm | Calibre | 10 | 10-23-2010 07:13 PM |
Sent Items (0) | Adjust | Feedback | 4 | 09-10-2010 05:55 PM |
K1 (v1.2): downloaded items (Whispernet) don't show up until a restart is performed | texasnightowl | Amazon Kindle | 4 | 05-01-2009 05:21 PM |