boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

post using avantgo on a palm pilot

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Tue Feb 12, 2002 9:12 pm    Post subject: post using avantgo on a palm pilot Reply with quote

the bookmarklet function would be perfect if there were the ability (perhaps I'm missing it) to forward along authentication information with the url. Yes, I do realize this is a security risk, but it's required to post using avantgo offline (and avantgo can encrypt the information if the destination supports it).

(Avantgo is an internet-esque sort of service which allows users of Palm powered devices to download specific internet pages, any forms submitted are cached within the device and then later uploaded).

To make use of this feature, to download the actual posting page of the bookmarket.php one needs to authenticate in the URL itself, as there is no client/server interaction available after the initial page download.

Another solution, I suppose, would be to create a page with author information built in and then protected via .htaccess, as htaccess can be authenticated via URL.

Any thoughts on this, even if just in a "hack" sort of way?

(I suppose this could better be a feature req, but it seems as though the core is already available, just need a way to access it in this way).
Back to top
View user's profile Send private message Visit poster's website
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Wed Feb 13, 2002 5:21 am    Post subject: Reply with quote

I thought figured it out...


http://yourdomain.com/b2bookmarklet.php?log=USERNAME&pwd=PASSWORD&Submit2

but it yields the "Error: wrong login or password" but when you click the "ok" button with the prefilled fields it logs in...

this is an important function for me, so if anyone has any ideas that might help they'd be appreciated greatly.
Back to top
View user's profile Send private message Visit poster's website
gidget



Joined: 25 Jan 2002
Posts: 21
Location: chicago

PostPosted: Sat Feb 16, 2002 8:54 pm    Post subject: Reply with quote

would that work with just wireless palms or would it work with regular palms too?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Sat Feb 16, 2002 9:05 pm    Post subject: Reply with quote

it would work with both, you just would need to have an avantgo.com account and their browser ( which is free ) .

On non-wireless palms (such as mine) you'd go to the posting page through the avantgo browser (which is stored in memory from the last sync) , make your post, and then click submit. It would then stay in memory until you'd sync the palm again, when you sync it would then be added to the database/your site.

Michel said he'd be looking into having an avantgo client using xmlrpc which is good news. ;)

If you have a palm and don't have an avantgo account I'd recommend going to http://www.avantgo.com and getting one, it's very useful to take webpages with you when you're away from the computer.
Back to top
View user's profile Send private message Visit poster's website
gidget



Joined: 25 Jan 2002
Posts: 21
Location: chicago

PostPosted: Sat Feb 16, 2002 10:26 pm    Post subject: Reply with quote

thx
I'm checking it out now
Smile
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Slide



Joined: 01 Mar 2002
Posts: 3

PostPosted: Fri Mar 01, 2002 11:12 pm    Post subject: Try This.. Reply with quote

I "hacked" up a little form to make this easier. Instead of hacking around b2bookmarklet.php or doing something nasty to the general structure of b2, I just ripped some code from b2verifauth.php and b2edit.php, called a couple functions from b2functions.php, made a few tweaks, and a simple form (works well on the Palm's tiny screen), and made it just load into the database.

It's *not* secure, use at your own risk. I'd advise creating a seperate account on your b2 system for a palm user, and leave it at level 1, just for posting from your AvantGo account.

The file is at http://lorien.optera.net/b2avantgo.zip . Then, just make a custom AvantGo page that uses a URL like:
http://yourdomain.com/b2avantgo.php?uname=youruser&pass=yourpass

It's VERY basic, and does pretty much no checking of content or anything (it does make a couple calls to things from b2-include/b2functions.php, but nothing beyond that). Consider it public domain.. :)

Cheers!


Last edited by Slide on Tue Mar 05, 2002 2:23 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Sun Mar 03, 2002 12:12 pm    Post subject: Reply with quote

I get a page cannot be displayed error on your file.
Back to top
View user's profile Send private message Visit poster's website
Slide



Joined: 01 Mar 2002
Posts: 3

PostPosted: Mon Mar 04, 2002 5:08 am    Post subject: Reply with quote

imeridian: Soory, my bad...my webserver has been down off and on today...try it again sometime.. :)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Mon Mar 04, 2002 5:31 pm    Post subject: Reply with quote

thanks for this... it appears to be working perfectly.
Back to top
View user's profile Send private message Visit poster's website
Slide



Joined: 01 Mar 2002
Posts: 3

PostPosted: Tue Mar 12, 2002 10:11 pm    Post subject: Another one, but not using AvantGo.. Reply with quote

I've coded up a little interface between b2 and the handX webLog tool at http://www.handx.net/. It works pretty well, and doesn't require the overhead of having AvantGo installed. It's not as nicely integrated, but it works for my purposes...

The interface is at http://lorien.optera.net/b2handX-1.0.tar.gz. Requires Perl, DBI and DBD::mysql, and has some pretty basic/arcane install. I've only tested it under Linux with MySQL, but it should work with pretty much any database DBI supports, and on any of the various *nix flavors that Perl and DBI will run on.

The nice thing about the handX setup is that handX's program actually uses ftp or scp to move data to a text file on your webserver, and when using scp, is probably a lot more secure than my b2avantgo interface mentioned above.

Cheers!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
chibidave



Joined: 22 Mar 2002
Posts: 3

PostPosted: Fri Mar 22, 2002 7:50 am    Post subject: Reply with quote

has anyone come up with a reliable bookmarklet for ie? on just a regular computer?
_________________
we dedicate this to girls kissing girls
boys kissing boys
girls kissing boys
and everything in between!
the future is bleak, uncertain, beautiful
tommorrow they might come and arrest us all
[gybe!]
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Aubrey



Joined: 18 Jun 2002
Posts: 6

PostPosted: Tue Jun 18, 2002 9:04 pm    Post subject: Reply with quote

I'm checking out handx, but I don't see how it posts the entry to b2. How do you go about doing that?
_________________
you seem star shaped.
Back to top
View user's profile Send private message
shaun



Joined: 04 Mar 2003
Posts: 2
Location: BC, Canada

PostPosted: Tue Mar 04, 2003 3:05 am    Post subject: Re: Another one, but not using AvantGo. Reply with quote

Well, I installed handX (again) today and got it working. It doesn't seem to like uploading files (with pscp, at least) when the names start with a slash (/home/shaun/www/...) so instead, just start off from your home directory and go from there (www/...).

In addition it didn't like it when I tried to add ".txt" to the filename. Don't play with the settings too much and it works fine.

Slide wrote:
I've coded up a little interface between b2 and the handX webLog tool at http://www.handx.net/.

The interface is at http://lorien.optera.net/b2handX-1.0.tar.gz.

I had intended to post a note asking where the file was now because I couldn't download it from your link, but I just realized that phpBB put a period "." after the filename. Truncated that and away we go (I also edited the quote above so anyone wanting the file can just click on the link in this post).

I'll report back here if I get it going. Or if I don't. Smile
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group