Quote:
Originally Posted by TonytheBookworm
it is finding all instances of the table tr and td and then changing their name to div or making them div tags if you will..
|
Exactly correct.
Quote:
One last thing while on the subject. I wasn't too clear on the postprocess_html parameters. It takes 3 arguments. The first 2 I understand but I'm confused about the first_fetch cause in some recipes I noticed they use first. So are these reserved words and if so what do they do exactly? Thanks again. Learning so much from you!!!
|
So you want all the secrets eh? I quote: "first_fetch – True if this is the first page of an article."
You probably haven't used it much, but there is a recursion parameter that causes the recipe to follow links. The result is that links on the article page are fetched and work within the ebook. (By default it's off so links aren't followed/fetched).
I have a recipe of food recipes. The main food recipe on page 1 of the article may have a link to another food recipe, like a sauce or a side dish. I have recursion turned on to fetch those related recipes. First_fetch is true only on the first page.