Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2007, 09:34 PM   #76
King Mook Mook
Member
King Mook Mook began at the beginning.
 
King Mook Mook's Avatar
 
Posts: 12
Karma: 10
Join Date: Dec 2007
Device: Kindle 2 International
Name

What is with the name iNewsstand? Is the program related to newsstand.com the website that distributes online newspapers?
King Mook Mook is offline   Reply With Quote
Old 01-14-2008, 03:38 PM   #77
rodin
Junior Member
rodin began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2007
Device: iRex 2nd Gen
Possibly helpful hints...

Regarding the LF problem, there is a linux/cygwin command-line utility called dos2unix, which will fix it automatically. However, I suspect it's only the first line of run.sh that gives you trouble.

"#!/bin/sh" starts a new shell instance for this script. If you have extra garbage on that line, you won't be able to run the script at all. You will get the blinking light for a few seconds while the contentlister is trying to start the script, and then it will exit. It will never even get to running the application.

You can safely remove this top line, since the contentlister starts a new shell for your script anyway. There's a good chance the rest of the script will parse correctly.

As for the automatic connection, it sounds like you're defaulting to a wired profile. Check your preferences and make sure that the iLiad is set to connect to iDS, and not to your computer. Then, just once, start a manual connection to iDS(hold down the upper right key); make sure you check the wireless button, and connect succesfully. The connectionMgr defaults to using the last successful profile, and if you've told the iLiad to go to iDS, and told iDS to use wireless, it will start the wireless connection every time.

Also, it occurs to me we could be a bit more conservative and try something like:
Code:
if connectionMgr --background --stay-connected;
then iNewsstand; 
fi;
/usr/bin/wired.sh stop
/usr/bin/wireless.sh stop
The last two calls are much faster than invoking the connectionMgr again, so the contentlister comes back sooner.

I love having this app on my iLiad

Last edited by rodin; 01-14-2008 at 04:51 PM.
rodin is offline   Reply With Quote
Advert
Old 01-17-2008, 02:50 PM   #78
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
Ok I finally found some time to install this app properly. Now I've had issues with getting the program to work like I mentioned before. Now the tip that Narve gave me helped me. After trying to edit the run.sh script (removing the first line or that line with background connection) wich didn't work I've opened the run.sh script with metapad (a text editor) and converted the fileformat to UNIX Text (LF) and saved it again. Then it worked.

Just to make myself clear: I had no idea what exactly it was that I was doing

But for all thoose that don't know how to get it to work I've attached a zip file (zipped on a windows vista 32bit laptop from acer if that matters to anyone). And because I consider myself I've removed the mistake in the manifest file (that type error).

Btw: did I mention it is a great program?

Ow and here are some first suggestions for the program:
* include some margin space, left right and above. It looks weird without it. (not much)
* resize the tap titles (feeds - books - downloads etc) to a smaller size and include margin left and right. The buttons look way to big compared to the rest.
Attached Files
File Type: zip iNewsStand.zip (46.6 KB, 562 views)
Blue is offline   Reply With Quote
Old 01-17-2008, 06:44 PM   #79
iAmBeer
Member
iAmBeer began at the beginning.
 
iAmBeer's Avatar
 
Posts: 24
Karma: 10
Join Date: Nov 2007
Location: Bangkok
Device: Kindle Paper White, Boox Tab Ultra C, KOBO Clara Color
Wow...This is what I'm looking for.

Thank you Blue
iAmBeer is offline   Reply With Quote
Old 01-18-2008, 05:19 AM   #80
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Very nice Blue !

This is still a first test version for this software, we'll keep on improving everything.

I'd love to see a standard UI provided by iRex, to make these apps consistent with the rest of the UI.

Stephen also had a pretty nice idea: once that you've launched and entered your username/password once, it would add a very simple program in the newspaper folder. Open this program, and it will synchronize your feeds without launching an UI.
If this could be launched automatically like iDS, it would be a perfect way to get fresh content on your iLiad every day.
Hadrien is offline   Reply With Quote
Advert
Old 01-18-2008, 09:33 AM   #81
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
you're all welcome!

Yes a standard UI from Irex would simplify alot of things. I've got some ideas for small aps I would like to create so a standard UI would be great.

The idea of making a sync program in the news section is without doubt alot better then opening the app itself.

But why not place an extra button in the connection manager next to IDS and computer so when you want to sync, you just got to press the big round button on your iliad and choose feedbooks. I guess it might not be possible without Irex helping on this one but it sounds more like the iliad to me. Everything you need to sync should be isntalled in one place.

Now that I think about it, the way it is now, syncing either computer or IDS should be different. You should be able to do both at the same time. But that offcourse is


Now about something else. I've got a problem with the feeds I guess. I've subscribed to some rss feeds, a newspaper and a sudoku on the feedbooks site but for some reason, I don't think it gets trough to my iliad. I can download books using the app but when I select 'Feeds' I don't get a list. I am logged in offcourse however, I had the impression that logging in went terribly fast. Can someone tell me what I'm doing wrong?

I soooo love theese smilies
Blue is offline   Reply With Quote
Old 01-19-2008, 07:36 AM   #82
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
Thumbs up

Quote:
Originally Posted by Blue View Post
Now about something else. I've got a problem with the feeds I guess. I've subscribed to some rss feeds, a newspaper and a sudoku on the feedbooks site but for some reason, I don't think it gets trough to my iliad. I can download books using the app but when I select 'Feeds' I don't get a list. I am logged in offcourse however, I had the impression that logging in went terribly fast. Can someone tell me what I'm doing wrong?
I now have some feeds in the list but I don't know how they got there. I removed a few from the feedbook site (thought it may overload something) and tried again without luck. But now that I've start up the program again, I got one in the list. I've gradually increased the number of feeds and now I get them all (the same as before) without any problems. I guess something got stuck somewhere (to give it an experts opinion )

Also another bug I think, after closing the program with 'exit', I can't seem to use my stylus untill I use one of the buttons.
...
Ok something just happened I closed the program and like I said, I couldn't use the stylus except to use thoose buttons on the lower right. But before I closed the program I was syncing my feeds and I had just placed a new feed in my list. So when I closed the program and I couldn't use the stylus, I was waiting a bit and then all of a sudden that new feed appears in my contentlister. Could it be that the program doesn't quite close completely but is still running on the background untill I use one of the hardware buttons?

Ow and this feed:
http://www.deredactie.be/cm/de.redac...wire?mode=atom
isn't showing any text after the titles. But I suspect it has something to do with the 'summary' tag. That's the only container for the text and I don't think that feedbooks is extracting any text out of thoose? Well it doesn't matter, their feeds aren't really any good... But on the feedbook's site there is a button under 'Beta' that says: "This feed is not working" but it doesn't work
Ok enough of the laughing, I don't recieve any feedback when I push the button so I don't think it does anything.

And then a little trick most of you will probably already know : if you want the iNewsStand to be on the top of the list in the contentlister, you can rename the directory it is placed in to 0_iNewsStand for example. The manifest file will keep the name of the directory that is displayed in the contenlister the same as before but the postion of the file will change.

Now I'm going to thoose wonderfull feeds! the formatting is really super! Even my own feed displays so nicely on my iliad that I can't believe I wrote that

Great super nice program!
Blue is offline   Reply With Quote
Old 01-19-2008, 09:05 AM   #83
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
I think I found another bug. I wanted to sync all but 1 feed after I deleted all the feeds in my news directory. So I start up the program and I press 'select all' and then I deselected the feed I didn't want to sync and then I pressed: 'sync selected feed' and the only feed I had in my inbox was the one I didn't wanted ... ow... wait. Ok I get it, when you press 'sync selected feed' it only syncs one feed wich you last pressed, right? The one that's highlighted... And 'Sync!' selects the feeds that have a V in the boxes, right? Ok that makes sense So it's not a bug after all
Blue is offline   Reply With Quote
Old 01-19-2008, 03:30 PM   #84
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
Quote:
Originally Posted by Blue View Post
I now have some feeds in the list but I don't know how they got there. I removed a few from the feedbook site (thought it may overload something) and tried again without luck. But now that I've start up the program again, I got one in the list. I've gradually increased the number of feeds and now I get them all (the same as before) without any problems. I guess something got stuck somewhere (to give it an experts opinion )
After long I what went wrong here. I was playing a bit with my feed subscriptions on feedbooks.com and I found out that from the moment that I subscribe to a sudoku from feedbooks, that I don't get my list of feeds on my iLiad anymore! So if you have a problem with that list, just delete the sudoku subscriptions and you should be fine again.

Sorry for spamming this thread, it looks like I'm going solo on this one I hope that I give some interesting information
Blue is offline   Reply With Quote
Old 01-19-2008, 03:32 PM   #85
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Quote:
Originally Posted by Blue View Post
After long I what went wrong here. I was playing a bit with my feed subscriptions on feedbooks.com and I found out that from the moment that I subscribe to a sudoku from feedbooks, that I don't get my list of feeds on my iLiad anymore! So if you have a problem with that list, just delete the sudoku subscriptions and you should be fine again.

Sorry for spamming this thread, it looks like I'm going solo on this one I hope that I give some interesting information
Interesting... I'll make a few test too, I don't see why adding a sudoku would be a problem. In the meantime, try adding a newspaper with sudokus inside it !

Edit: Found the bug, I'm working on it. Once again, thank you Blue for pointing this out.
Hadrien is offline   Reply With Quote
Old 01-19-2008, 04:29 PM   #86
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
Quote:
Originally Posted by Hadrien View Post
Interesting... I'll make a few test too, I don't see why adding a sudoku would be a problem. In the meantime, try adding a newspaper with sudokus inside it !
Subscribing to a newspaper with sudokus is no problem but it's like I can't open the pdf files with the sudokus in them. I tried it with 'Sudoku Maniac' and 'Gadget newspaper' and both won't open. Offcourse I'm not sure if it's due to the sudokus but the other newspaper do work ('BBC full content' and 'Iliad ebook' and 'Tech News'). I've tried downloading the sudoku newspapers two or three times.

Quote:
Originally Posted by Hadrien View Post
Edit: Found the bug, I'm working on it. Once again, thank you Blue for pointing this out.
Hey, it is I who has to for solving the bugs, it's easier to spot problems then to solve them. I'm just doing my job as an annoying customer who wants a perfect program (You should read my e-mails that I sent my professors with 'suggestions' for their course textbook )
Blue is offline   Reply With Quote
Old 01-19-2008, 04:34 PM   #87
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
mmh wait, I can't open the newspaper 'Tech news' either and that's not one with sudokus in them...
Blue is offline   Reply With Quote
Old 01-19-2008, 04:44 PM   #88
Blue
Connoisseur
Blue is on a distinguished road
 
Posts: 56
Karma: 63
Join Date: Apr 2007
Ok it's me again I've once again subscribed to the Sudoku Maniac newspaper but now I've asked for a Custom PDF format (that I gave the same settings as the Iliad template). And now I can open the pdf file.
Blue is offline   Reply With Quote
Old 01-19-2008, 05:02 PM   #89
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
I've tried the Sudoku Maniac one a few times on the iLiad and it worked just fine. Sudoku are a lot of fun on the iLiad !

I think I've solved the bug, I'll put it online tomorrow or monday (currently working on a mobile edition of the website).
Hadrien is offline   Reply With Quote
Old 01-20-2008, 01:45 PM   #90
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Problem with the subscriptions on the sudoku should be fixed now.
Hadrien is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feedbooks.com iLiad Downloader (iNewsStand) Adam B. iRex 95 03-14-2010 01:03 PM
Kindle Downloader Application daffy4u Amazon Kindle 2 08-19-2009 11:41 AM
Google Book Downloader TadW News 4 02-19-2009 09:25 PM
iLiad Manual Comic Strip Downloader Released Adam B. iRex 39 02-11-2009 10:39 AM
iLiad Idea: iLiad application Downloader Adam B. iRex Developer's Corner 8 09-06-2007 03:03 AM


All times are GMT -4. The time now is 01:33 PM.


MobileRead.com is a privately owned, operated and funded community.