Quote:
Originally Posted by gambarini
|
I looked. First, let me fix your English. It's far, far better than my Italian, but you used the word "tablet" and it took me a while to figure out you were asking about "tabs" on the article links that the feed sent you to.
Quote:
Every link in the feed links you to the first "tab" on an article page that has additional tabs; the additional tabs are about the same "car". The link for all tabs for each car on the first page/tab change only in one part, and always in the same way for every other article (about other cars).
|
The above revised phrasing would be a bit more clear, in case others want to pitch in. Basically, there is a single feed for multiple articles, each article being about a single car. The link takes you to a first page, and that page has additional tabs, each one being created the same way, so if you know the article link for a car, you can figure out the links to the other tabs for that car.
Quote:
is there the possibility to add the others tabs to the link of the feeds?
One option is to create an epub only for this feed, and use every link of the feed like a feed (a section title), and automatic create the details of the feed with all the links regarding tabs of the same article.
Is it correct?
|
Yes, you could do it that way, and I think it makes the most sense. You could scrape the RSS feed as a web page with parse_index. You would build a separate feed for each car, then build the article links for each car feed from the known way that the links for the tabs are created.
Another way would be to try to just allow recursion to the deeper tab links on each page. You might have to modify the page to get access to the links. This would give you a single feed, with a link to each car, and your reader would then link from the first page to the next pages.
A third way would be to use preprocess_html and the soup to grab the tab links and add them to each page - the way multipage is done.