![]() |
The great offline issue
Quote:
|
Re: The great offline issue
I've hacked together in python an offline reader for google reader that can sync the status back to google reader later. Like:
1. Fetch unread articles from Google Reader 2. Go offline 3. Read some articles, star (mark as interesting) some other, don't read all 4. Go online 5. Push back changes 6. Go to google reader using a desktop web browser 7. The messages you haven't read on the road are still unread, the interesting ones can be found and the ones you have read are no longer shown It's still very crude, but I use it myself. I have to polish it and release it. Contact me if you are interested. BR, ptman |
Re: The great offline issue
Quote:
|
Re: The great offline issue
Didn't want to rub it in, but totally agree :-)
|
Re: The great offline issue
Quote:
|
Re: The great offline issue
Quote:
|
Re: The great offline issue
My offline time are usually involve reading fetched rss stuff. But one thing I would rather have is built in "save webpage for offline" in the menu somewhere in the browser.
|
Re: The great offline issue
Quote:
Anyway, I'm not dissing Python. I'm only saying that certain things seem natural to me the way Ruby does them that didn't seem natural at all when I was looking at them in Python. But if I were lefthanded, some tools would seem hard to me to use and others (lefthanded scissors) would seem natural. It's perfectly sensible that other people would feel differently. |
Re: The great offline issue
Quote:
Plucker, of course, antedates RSS. In the end RSS and Google Reader may be wildly easier than a Plucker/FBReader combination. But so many things in FBReader are attuned so well to reading that I am loathe to give it up as the e-reader of choice. |
Re: The great offline issue
I understand the desire to pull down full the full text of articles, but I find the built-in RSS reader is handy for grabbing feeds in the morning before I head to the subway. I HAVE to pull stuff down first, because there's no mobile service whatsoever in the subway...and there's likely to be no service for the forseeable future. But, I would certainly be interested in a Python solution like this, too.
|
Re: The great offline issue
Quote:
No, just kidding. I was just surprised to see someone describing Python as non-intuitive, as my five-year romance with Python has been nothing but joy. And I admit I've only had minor exposure to Ruby. |
Re: The great offline issue
Quote:
770/800, so that you could browse offline all pages visited online from the cache. |
Re: The great offline issue
Quote:
Quote:
Cheers, Andrew |
Re: The great offline issue
It's been a long time since I tried Plucker, but I'm certain that I didn't use a Plucker GUI - there was a command line utility that did it all, after I had set up an initial .html file which described what I wanted Plucker to download.
A command line version of Plucker should hopefully not be difficult to get running on the N800/770, unlike a wxwindows version. (As for Python, it's not for me either. I stopped using position-dependent code with Fortran 66, and I'm not going back - but there are other reasons too. Ruby I could do, I think. But I really need Perl! :)) >The point we need to make (and we agree on) is that there are valid use cases for these "Internet" Tablets without an Internet connection. Indeed! |
Re: The great offline issue
Quote:
|
Re: The great offline issue
I actually just received my first 2 Python books from Amazon last week. As an old VB (and Pascal, and Lisp) programmer, I'm not too keen on the odd syntax (looks too much like C at first glance, which I despise)... but I intend to swallow hard, grit my teeth and teach myself anyway. Prayers appreciated.
|
Re: The great offline issue
Even though the syntax is different, Python is a lot like Scheme. Once you get past the syntax, you'll be fine. If you want, think of the tab key as open-paren :)
|
Re: The great offline issue
Quote:
Right now the main problem is displaying HTML in a hildon gui programmed with Python. There's libgtkhtml, but no python bindings. And I'm not going to redo this in C. In the terminal, I just format the html through links(1). And fetching the www-pages for offline reading is an interesting idea as well. But it doesn't work really well for, say, Slashdot, where the real content isn't pointed to via the feed. When it's ready, it can be found at http://paul.totterman.name/maemo.html BR, Paul Tötterman |
Re: The great offline issue
The Nokia is a powerful device with a network connection. I would like to be able to run an app from the device itself to have it grab a bunch of web pages to an offline directory. That way I sync what I want to read offline whenever I happen to have a connection.
There is great web site slurping tool called pavuk that I've used in the past. It can take a url and copy down the whole page to an offline directory, changing image paths, etc, so the whole page can be read offline. It is very configurable and intelligent and includes both command line and X windows based modes. I downloaded a copy into a Maemo Sandbox, and it compiles and runs without a hitch, even the X version. While this could probably be put onto a Nokia as is, some work could be done to make this a Hildon app. I have never attempted this before, nor have I touched C in a few years, but it would make a cool project. It is also a very powerful program, and could probably use a simple mode that handles most sites well. http://pavuk.sourceforge.net/ |
The Daily Pluck (what your looking for.)
Hi, I wrote a distiller that pulls down content (rss feeds + weather + news sites) and distils it into pdb format.
You can get it at http://simonvc.googlepages.com/thedailypluck I heard it has some problems with the N800 (but works on my N770) Good Luck Simon |
Re: The great offline issue
I've used Avantgo on my pocketPC that does a great job of providing off line content. I did a search on google for Avantgo Linux and come up with this site, http://quark.humbug.org.au/publicati...s/avantgo.html but it looks like the source code link is bad. I'm sure with a little bit of googling one could find the source code. Wonder if this could be built to work on the Nokia's?
|
Re: The Daily Pluck (what your looking for.)
Quote:
I'll try it with both the N800 and the 770. For all us offline-on-the-train and FBReader readers, thanks! Roger |
Re: The great offline issue
Quote:
I too would like to have Avantgo on the Nokia Internet Tablet, it would be a great application for a device with that screen and networking speed (for the synchronization part). (As a sidenote, I've always wanted to take a better look at that malsync code to see if it would be possible to make it into a two-stage downloader; e.g. either store the data directly into a .pdb file that could later be pushed to the Palm, or, if not, save the data in some other way so that the malsync->palm interaction could happen later. I can't see why this wouldn't also work on the N800. Particularly with the .pdb file push this would be great to get running on the N800, because it could directly push the file through BT to the Palm with no additional coding (unlike with hotsync, which would need the pilot-link software to be ported too). This could be useful if you're without wi-fi on the PDA (could be made to work with Win PDAs too, presumably.)) |
Re: The great offline issue
The Daily Pluck seems good, but it doesn't allow access to websites that require authetication, for example. (any plans?)
I use Sunrise, which was formerly called JPluck. There's a howto for Ubuntu at http://www.howtoforge.com/comment/reply/1190. It works on Windows as well. Download details are in the Ubuntu howto. There's a great tutorial here: http://wiki.mobileread.com/wiki/SunriseXP_tutorial Mike. |
Re: The great offline issue
In case someone is interested, I just put out a first public release of maemo-google-reader. You can get it from my home page http://paul.totterman.name/maemo.html . Please give me some feedback. I know that it's a terminal based program and I would like to make it graphical, but I couldn't find a nice html rendering widget that was accessible from python. libgtkhtml didn't have python bindings available for maemo.
|
Re: The great offline issue
Quote:
http://www.fcoutant.freesurf.fr/python-gtkhtml.html I don't know if they are available on maemo though |
Re: The great offline issue
Quote:
|
Re: The great offline issue
|
Re: The great offline issue
Quote:
http://bergie.iki.fi/blog/the_old_of...ne_debate.html |
Re: The great offline issue
I read that article too, and I think the comments were better than the article.. :)
There's a reason for wi-fi hotspots being called "hotspots".. they're short-range islands in an ocean of non-connectivity. Phone connection is fine as far as it goes, and I use it often, but it doesn't go that far: GPRS, at least, is not wideband, and it's costly. And as soon as you go outside your own country (as many people do all the time in Europe) you'll find that a) it's insanely expensive, and b) your provider may not even have roaming deals for GPRS on the local carrier you happen to connect to. And even where you're reasonably well-covered with wi-fi hotspots, if you're moving (in a bus, on a train, in a tram) you will want to quickly download or synch to your mobile device while waiting for the transport, then read off-line while on board. (This is of course a totally alien concept for an American, where either you're driving a car and thus not working on your N800, or you're stationary.. ;)) I also read Bergie's blog comments.. on the issue of synching protocols, I was thinking that maybe something could be built on top of 'git', for those who are familiar with it. |
Re: The great offline issue
Yes, some sort of Avant-go like syncing like my Rexx 6000 had in 2000 is important. I spend all day in a non-wifi environment. I have wifi at home, but I also have three desktop computers there. The amount of time I spend in places where I have wifi but don't have a desktop computer is usually 0%. Syncing would be great, for the times I don't have wifi or a desktop computer.
|
Re: The great offline issue
The great offline issue - finally solved!?!
Thanks to loki and his version of pyplucker (Forum Post, Repository) you can gather relevant news right on your device, whenever you are online, without the need for syncing. (I assume here in this post you have heard of the excellent FBReader for Maemo, which displays ebooks. Coupled with a PC based web site converter like Sunrise (or others) you can convert arbitrary websites into "take away ebooks" on your device. But this has been a two step solution until now...) After you installed pyPlucker from the above repository, open an X Terminal on your device. You should execute "plucker-setup" now, but some error message appears, which fails on missing rights on the directory ".plucker" and sometimes ".pluckerrc". After you granted those rights for everyone (search for "how to become root" in this forum), execute "plucker-setup" again. Now it works. You could now invoke the plucker (the web site converter) by loki's command line (for more reference on the plucker check the Documentation). But I prefer to set up a "home.html" file, which acts as a default for plucker and contains all the news I'd like to update onroad. A sample is already installed in .plucker, you just have to change it to the news you prefer. I print mine for reference: Code:
<HTML> Code:
:) Voila, you are ready to start your first plucker by entering "plucker-build". On my WLAN-connection it takes roughly 3-5 minutes for the above 3 sites, which is ok for me in the morning. I tried once over the mobile (3G), but canceled after 10 minutes... After it finished, there should be a document called "ChrisNews" (or what you have named it :D) ready to open with FBReader or Plucker. By the way: since out beloved tablets are not rockets, you should restrict the updates to the absolutely neccessary pages. It helps to add: Code:
0:-:http://heise.ivwbox.de/.* Ok folks, happy news-harvesting on the go! Cheers, Chris PS: anyone knows how to make a start menu entry for the shell command "plucker-build"? I would like to start it with a tap... :) |
Re: The great offline issue
Quote:
Seems like a very useful script! Do you have any plans to make a graphical frontend and single click install/repo ? |
Re: The great offline issue
Quote:
Code:
[Desktop Entry] Quote:
Cheers and thanks for the hint! _Chris_ |
All times are GMT. The time now is 04:12. |
vBulletin® Version 3.8.8