Hi Hari,
Quote:
Originally Posted by rhari79
[...]
One point i noticed: the urls in -f must be ; separated with a space after each entry.
|
Oops, I haven't been aware of this
I agree, and I think this required blank is nonsense... It should be quite easy to fix this.
Quote:
In case the feeds list(-f url;url is huge the html generated is very big. Is it possible to break this up into multiple pages, like contents on 1st page, its associated news on separate pages?
This will help the html files to load on mobile/ereader devices more easily.
[...]
hari
|
Also here, I fully agree, such a huge html is pretty inconvenient on the Iliad. In principle it is possible to change this, however, currently getfeed is built to generate a single file, and changing this will be a lot tougher than your first point, and it would probably require some major redesign. I'll think about it...
On the other hand, the html file that is created, has been intended primarily as input for tools such as html2epub or html2mobi, to get an output that's actually optimised for mobile reading.
I consider it only an
intermediate file format (or for reading on the (desktop) computer)
Some ideas:
Using the -C parameter you can automatically start a program which uses the outputfile to convert it to mobi.
Personally, I don't use the html file on my Iliad, but a pdf that's been created by LaTeX. The relevant parameters are:
Code:
### This is the LaTeX output
-F tex
-C pdflatex -interaction=nonstopmode >/dev/null
-P ~/iliad.sty
-o ~/src/perl/rss/myFeeds.tex
where my style file is
Code:
\usepackage[
lmargin=0.25cm,
rmargin=0.25cm,
tmargin=0.25cm,
bmargin=0.25cm,
nohead,
%paperheight=14.7cm,
paperheight=16.5cm,
paperwidth=12.2cm]{geometry}
\usepackage{bookman}
\usepackage{hyperref}
\usepackage[utf-8]{inputenc}
\pagestyle{empty}
\newcommand{\mytitle}[2]{
\noindent\rule{\textwidth}{0.7pt}\\
\mbox{ }\\[3ex]
\begin{center}
{\Huge\bf #1}\\[3ex]
\end{center}
\mbox{}\\[2ex]
\noindent\rule{\textwidth}{0.7pt}\\
\vfill
\hfill{\Large \emph{#2}}\\
\noindent\rule{\textwidth}{0.7pt}\\
\newpage
}
\pagestyle{empty}
\sloppy
produces documents with dimensions optimised for the Iliad using the full-screen ipdf: (paperheight=16.5cm, for use with the standard ipdf, better use 14.7cm as paperheight)
Best regards,
Tommy