Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

Personal Pocket PC Wiki

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 08-04-2008, 09:30 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by digitaldon37 View Post
I think that the problem is pocket IE doesn't like any URIs besides "about:blank"
Note that I got the BareWicki sample to navigate with a link that was "about:Automotive"
Reply With Quote
  #22 (permalink)  
Old 08-04-2008, 01:18 PM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Quote:
Originally Posted by agraham View Post
Note that I got the BareWicki sample to navigate with a link that was "about:Automotive"
Yes I can confirm the above works sort of. If you are linking to a file called "Automotive.txt" the link was "Automotive" but if you change the link to "about:Automotive" you firstly get an error "The address is not valid." after clicking ok the page loads.

So this partial solved the problem. Is it possible to suppress error reporting?
Reply With Quote
  #23 (permalink)  
Old 08-04-2008, 02:44 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default more thoughts on the pocket IE

agraham, I appreciate the help you've given us. I don't think this is a problem with html or with your library - I really think it is a problem with pocket internet explorer. I have to admit I don't do much coding these days (I am a project manager and live in a world of tasks, burn & earn, etc)

I liked your suggestion of looking at the AdvPDA - it also uses the web browser and seems to update the web page from links. I poked around it a little bit but I'm still new with the B4PPC - I havent' figured out how to set break points, etc that I'm used to with the MS IDE debugger

When the program first starts, the html string that is loaded has a referring url (the navigating.url) of "blank:about" - pocket IE is ok with that. However, the html that is displayed has links to other pages that are neither file based or http based, and the only way to get a browser to display them is with the "about:xxxxxxx" reference (where xxxxxx is the page name). Pocket IE just doesn't like those. Giving each link a reference "about:blank" would work, but that defeats the purpose.

When I originally thought about doing a pocket wiki I was considering storing two versions of every wiki page; one for the wiki markup language and one formatted as html. This would have been accomplished by having the editor save the HTML version on the save event. The browser would display the html version and the links would reference the html version. Clicking the edit button would load the wiki markup version.

That's probably not the most elegant solution - but sometimes a hack is the only thing that works.
Reply With Quote
  #24 (permalink)  
Old 08-04-2008, 03:26 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by digitaldon37 View Post
That's probably not the most elegant solution - but sometimes a hack is the only thing that works.
Could you not combine the two files and save the text after the closing </body> or whatever in the HTML file, or as HTML comments. At least that would halve the number of files.
Reply With Quote
  #25 (permalink)  
Old 08-04-2008, 03:31 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by tsteward View Post
but if you change the link to "about:Automotive" you firstly get an error "The address is not valid." after clicking ok the page loads.
I don't get the error on WM2003, presumably later OS differ.

Quote:
So this partial solved the problem. Is it possible to suppress error reporting?
Not as far as I know.
Reply With Quote
  #26 (permalink)  
Old 08-05-2008, 09:54 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default version .2 development - works on PDA

I finally got the Pocket PC wiki to run on the PDA without errors (thanks to reviewing badkarma's AdvPDA code)

Tony, please let me know if this runs ok on your PDA.

Thanks to agraham for his help and suggestions.

8/6 update: version .21 adds updates to Blade parser, adds new 'Slash' parser, minor ui changes,

Blade parser supports: local links, font formatting, headings, image inclusion, quote

Slash parser supports: local links, font formatting

Last edited by digitaldon37 : 08-07-2008 at 04:26 AM.
Reply With Quote
  #27 (permalink)  
Old 08-05-2008, 10:18 PM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Your bloody legend, that works a treat

Thanks heaps
Tony

Quote:
Originally Posted by digitaldon37 View Post
I finally got the Pocket PC wiki to run on the PDA without errors (thanks to reviewing badkarma's AdvPDA code)

Tony, please let me know if this runs ok on your PDA.

Thanks to agraham for his help and suggestions.
Reply With Quote
  #28 (permalink)  
Old 08-07-2008, 12:26 PM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Att: Digitaldon37
Now that navigating local files is working how do you think we might go about loading pages inside pages?
Ie: the syntax [^internal_page]

My latest complete code is being updated in post #1 http://www.basic4ppc.com/forum/open-...html#post15460
Reply With Quote
  #29 (permalink)  
Old 08-07-2008, 04:00 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 215
Default version .31

I merged tstewards file included in the original post (version .3) and my changes = now version is .31 - Tony can you use this one with any work that you are doing?

I added an include routine - which works ok if the included file is plain text but bombs if it has any markup in it. So this is still open.

To add to the list of ToDos:

1. Finish Blade markup - should be 100% compatible with Blade Wiki
2. Finish Slash markup (my new syntax - goal is to have a PDA finger friendly language)
3. Create configuration editor & file to save settings
4. Fix CSS include (works on PC, not on PDA)
5. Create template page for new pages
6. Create export to HTML routine
7. Create landscape routine
8. Create "Open File(wiki)" to support multiple top level wikis
Reply With Quote
  #30 (permalink)  
Old 08-07-2008, 10:52 PM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Yep that works on my PPC.
Although the back button is broken - i'll look into that later or maybe tomorrow as I have my sisters funeral today

Quote:
Originally Posted by digitaldon37 View Post
I merged tstewards file included in the original post (version .3) and my changes = now version is .31 - Tony can you use this one with any work that you are doing?

I added an include routine - which works ok if the included file is plain text but bombs if it has any markup in it. So this is still open.

To add to the list of ToDos:

1. Finish Blade markup - should be 100% compatible with Blade Wiki
2. Finish Slash markup (my new syntax - goal is to have a PDA finger friendly language)
3. Create configuration editor & file to save settings
4. Fix CSS include (works on PC, not on PDA)
5. Create template page for new pages
6. Create export to HTML routine
7. Create landscape routine
8. Create "Open File(wiki)" to support multiple top level wikis
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Pocket Wiki digitaldon37 Open Source Projects 4 12-30-2009 03:12 AM
Written a Personal Wiki? tsteward Questions (Windows Mobile) 3 08-01-2008 05:34 AM
Pocket Chess Database JamesC Share Your Creations 3 07-27-2008 05:07 AM
B4P Wiki meinewelle Questions (Windows Mobile) 5 05-30-2008 07:55 AM
print class for pocket pc tanrikuluahmet Basic4ppc Wishlist 1 10-01-2007 10:10 AM


All times are GMT. The time now is 03:01 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0