Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Open Source Projects
Home Register FAQ Members List Search Today's Posts Mark Forums Read

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


Another Pocket Wiki


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-04-2008, 09:08 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default Another Pocket Wiki

Pocket Wiki is a note taking application that uses wiki markup syntax to format text into HTML.

It uses custom DLL's to implement markup.

Currently supported are:

* Slash markup (one that I wrote: uses "/" to signify a mark-up command) - see http://wikislash.codeplex.com/ for latest
* Markdown.NET - as used on Picowiki.com and other sites
* Wikiplex - as used on the Codeplex site
* Creole - another markup standard

Currently planned support:

* bLADE markup (used by bLADE wiki and Tony Steward's PPPC Wiki)
* Doku wiki markup

Required B4PPC libraries are:
1. Webbrowser
2. FormLib
3. StringsEx
4. Hardware

bugs/to investigate
1. webbrowser library doesn't always load new page (have to refresh)
2. Fonts are scaling up in VGA - almost too big. Ideally fonts should be smaller than they are rendering now but bigger than they did under the 6.50 compiler

History
12-24-09 upload - version .30 includes Markdown.NET and wrapper
12-29-09 upload - version .32 includes SlashWiki.NET and wrapper
12-30-09 upload - version .50 includes latest changes to UI and SlashWiki.NET library
12-31-09 upload - version .60 adds "style sheets".
Attached Images
File Type: jpg pocket_wiki.JPG (13.2 KB, 46 views)
Attached Files
File Type: zip pocket_wiki.zip (73.5 KB, 45 views)

Last edited by digitaldon37 : 12-31-2009 at 07:26 PM.
Reply With Quote
  #2 (permalink)  
Old 09-17-2008, 10:01 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

I like your themes they look really neat. I also do like the larger buttons.
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
  #3 (permalink)  
Old 12-24-2009, 12:54 PM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default Wiki update - new features planned

I'm using my pocket wiki daily to keep all kinds of information, especially for work. Not only is it easy to type a quick note, it's even easier to find information when I need it in a hurry.

I created a syntax that works for me, but may not work for everyone. I found several syntaxes in use, and even better, others had written parsers that could be compiled into .NET libraries.

I have found the following parsers and have written "wrappers" that can be plugged into my wiki program:

1. Markdown.NET - seems to be one of the more popular syntaxes. Picowiki.com uses Markdown, source code available here: ASP.NET Resources - Announcing Markdown.NET
2. Wikiplex - WikiPlex – a Regex Wiki Engine
3. Creole - attempts to use the best of all syntaxes - WikiCreole: Home

I have Markdown plugged in and working (local and internet linking works) and will upload to the main post, along with the other parsers.

To that end, some of the project goals for the pocket wiki will be:

1. Create a more visual-appealing GUI (maybe something like how notepad on the iPod works)
2. Support multiple syntax parsers via plug-in
3. Create a plug-in for my homegrown syntax, plus the "blade Wiki" syntax that PPPC Wiki uses (I had already ported this to ASP, so it should be easy)

If anyone is interested in helping, either with a design or coding, or has suggestions - please let me know.
Reply With Quote
  #4 (permalink)  
Old 12-29-2009, 12:48 AM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default

I wrote a simple wrapper in VB.NET that works for the two .NET wiki libraries that I downloaded, as well as the one I wrote. Target framework is Compact Framework 2.0 in all compiled libraries.

Code:
Imports SlashWiki.SlashWiki


Public Class dgWikiWrapper
	
	public wiki as SlashWiki.SlashWiki
	
	Public Sub New()
		
		wiki = New SlashWiki.SlashWiki()
		
	End Sub
	
	Public Function print (s As String) As String
		
		return (wiki.Transform(s) )
		
	End Function
	
	Public Function info As String
		return "SlashWiki.NET"
	End Function
	
End Class
On the desktop version of Basic4PPC I am able to add this library and create an object "wiki" for the dgWikiWrapper class. Program runs fine on the PC and compiles to both PC and PDA.

The problem I am having is that when I run the compiled program on the PDA, I get an "Error loading program. NotSupportedException" error. I noticed that in the PDA B4PPC IDE, there is not a "dgWikiWrapper" class available.

Any suggestions on what I need to look for or change to get this to work on the PDA?



Thx, Don

Edit #1
I tried creating a very simple vb.net DLL for CF 2.0 and am getting the same error message, so it seems to be either something I'm doing or my pc.
Edit #2
I recompiled the wrapper to run as an executable, and it works on the pocket pc. I must not be compiling it into a DLL in a way that B4PPC likes.

Last edited by digitaldon37 : 12-29-2009 at 12:49 PM.
Reply With Quote
  #5 (permalink)  
Old 12-30-2009, 02:12 AM
Basic4ppc Veteran
 
Join Date: Jan 2008
Posts: 213
Default Version .32 with .NET plug-in

Version .32 has been uploaded to the main post. I overcame the challenges of running the VB.NET DLL on the PDA by writing a wrapper in C#

This version is "usable" though still in development. I also need to update the wiki parser to support lists and tables, as well as write C# wrappers for the other .NET parsers.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Personal Pocket PC Wiki tsteward Open Source Projects 133 02-24-2009 10:01 AM
Written a Personal Wiki? tsteward Questions & Help Needed 3 08-01-2008 04:34 AM
Pocket Chess Database JamesC Share Your Creations 3 07-27-2008 04:07 AM
B4P Wiki meinewelle Questions & Help Needed 5 05-30-2008 06:55 AM
print class for pocket pc tanrikuluahmet Basic4ppc Wishlist 1 10-01-2007 09:10 AM


All times are GMT. The time now is 09:49 AM.


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