![]() |
#2701 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2010
Device: sony prs 600
|
Private Eye
|
![]() |
![]() |
#2702 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
TheMarker recipe and some help needed
never programed in python. its different. anyway, this is my 1st recipe of themarker print version in hebrew (a financial newspaper from israel).
the recipe is in the attached file i think it could be added to the built in news feeds for calibre once i work out ![]() and now some things i need help with. 1) some for the articles in the feed above do not get dounloaded. i get a blank page (with the link that the artical is no and "next page" and so on.) 2)i want to add a web page that does no have a RSS feed. it is the stock qoutes for the TA stock market. to get to the table you go to: http://www.tase.co.il/TASE/MarketDat...&subDataType=0 find the table with the scroll bar (middle of the page). under that table are two links. an excel link and a link in hebrew to the left of the excel link. if you hit that link you get the correct table (http://www.tase.co.il/TASE/Managemen...9C%D7%9C%D7%99). that is for TheMarker recipe. i am trying to do 2 more things. a recipe that will download all of yesterdays stock filing. the link is http://maya.tase.co.il/bursa/index.asp?view=yesterday the things that are holding me back: 1)i need to down load a few pages (if you go to the bottom of the page you will see "1 of X" (1 מתוך X). i need all of the pages for that day. 2)if you click on any one of the links, you can see that some of the reports are in HTML form, some are in PDF form and some are in HTML but have a PDF in addition. i have no idea how to do anything with that. (see example next) this one is pretty much the same as the last: i want all the reports of a specific company from the past. i go to http://maya.tase.co.il/bursa/indeximptoday.htm there are 2 drop down menus in the box on the left. i choose a company in the 2nd menu (i will choose the last company on the list for the example. its called "תשואה 10"). i change the start date on the bottom of the box to 1/1/00 and hit search( the left hand button on the the bottom). i got to http://maya.tase.co.il/bursa/index.a...company_press= i want to download 23 pages if links. the 1st report (from 19:24 31.08.10 link: http://maya.tase.co.il/bursa/report....port_cd=570152) is an html report. the second report (from 18:18 31.08.10 link:http://maya.tase.co.il/bursa/report....port_cd=570085) is a PDF report (notice there are 2 PDF symbuls on the top marked "1" and "2". both need to be downloaded) the 3rd report (from 15:53 19.08.10 link:http://maya.tase.co.il/bursa/report....port_cd=566255) is html and PDF. they both need to be in the news feed. i dont know if what i asked here can be done, and i cant expect people to do it for me (i have no idea if it is a lot of work or not.), but i would love a point in the right direction if it is to much to ask. ![]() marbs Last edited by marbs; 09-12-2010 at 05:59 AM. Reason: recipe was not indented. |
![]() |
![]() |
#2703 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
the recipe is not indented.
so here is a text file. sorry about that
|
![]() |
![]() |
#2704 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
![]() Spoiler:
Last edited by TonytheBookworm; 09-12-2010 at 04:45 PM. Reason: updated code to run 5 times |
|
![]() |
![]() |
#2705 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Custom Receipts
Hi
Can some on create a fetch for Popular Science Thanks |
![]() |
![]() |
#2706 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
How is this done?
I know you can take and make a counter and then check to see if it is less than a number. However with an if statement it only get executed once. How do you do a for loop that uses a counter? Something like for (int i; i<=5, i++) I tried for counter <=5: with no go Last edited by TonytheBookworm; 09-12-2010 at 04:44 PM. Reason: figured it out with a while |
![]() |
![]() |
#2707 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jun 2010
Device: Sony 300
|
I wish I had some clue as to how to do this, but I am completely lost. Could someone make a recipe for the Colorado Springs Gazette at http://www.gazette.com. Thank You so much in advance!
Nevermind, figured it out, thank you Last edited by kbrand; 09-12-2010 at 05:58 PM. |
![]() |
![]() |
#2708 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Outlook India Magazine Per Facebook request
Here is a working recipe for outlookindia.com
Rss feed: http://www.outlookindia.com/rss/main/magazine I only done the magazine portion of the rss feeds. |
![]() |
![]() |
#2709 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Slightly puzzled and not sure what is going on here.
When I run this recipe at the console with ebook-convert test.recipe output_dir --test -vv > myrecipe.txt I end up getting a nice formatted article with no junk. Then when i take and import it into calibre to fully test it. I get junk. So, I went a step further and did this. ebook-convert test.recipe myrecipe.mobi --test And again I get nice pretty articles with no junk. So what could be going on that is different when I actually load it into calibre ? I can remove the tags but kinda hard to do that when they don't show up in the test ![]() here is the code i'm working with Spoiler:
![]() |
![]() |
![]() |
#2710 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2010
Device: kindle 2
|
Hi I am new here. Can any one assist in providing recipes for Indian magazines like Outlook Business (www.outlookbusiness.com), Open (www.openthemagazine.com) and international magazines like Fortune etc.
|
![]() |
![]() |
#2711 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2010
Device: kindle 2
|
@Stewie1-I had the same query. Were you able to get any replies/recipes for this?
Quote:
|
|
![]() |
![]() |
#2712 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2010
Device: Nook
|
Quote:
Creating a recipe that would resemble the print edition would require deciding which feeds should be included and in what order. For example, the Comment section contains the editorial parts of the daily edition. There isn't one feed, there are four. This is how the RSS feeds are setup. I have been playing around with a version of the current recipe, but somehow I managed to completely screw it up. When time permits, I will try again. |
|
![]() |
![]() |
#2713 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#2714 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Strange. I'll try rebooting and see what that does. Just curious when you say your getting the same results? are you get unjunked version or the junked version ? I would assume you are getting the version with the home and other crap in it. Which is what I was expecting but when i ran the test and it showed up clean I was saying great don't have to do as much work on it. Anyway thanks for testing and I will see what I come up with it. Just thought it was weird. One thing that might be causing me to see a clean version is the fact i run Ad Block. I forget to turn that off at times.
|
![]() |
![]() |
#2715 | |
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 |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |