Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 17:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
didiwiki improved
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Tue 29 Sep 2009, 12:26    Post subject:  didiwiki improved
Subject description: upadted/modified source code for didiwiki
 

I've upgraded and improved the sources for didiwiki. Quite awhile back I found the original developers svn repo and downloaded the 'latest' sources -the last changes were made in 2004. I had been using those sources with further changes from debian until recently. Then, I found a couple of people who had written patches which cleaned-up or fixed things and/or added features. One of them had even written fixes against the svn sources.
So, anyway, after a couple of day of fooling around with it all, mixing and matching and fixing things still further, I came up with a clean source tarball which conatins all the fixes and added features.

Added features:
* support for showing wiki changes as an RSS feed(original added feature from the developer)
* From debian: debugging code added
* From debian: command-line options to set the port and wiki home
* From Peter Korsgaard: Add support for previewing page changes and the ability to cancel or save them.
* From Peter Korsgaard: Support for deletion of pages
* From Kanru Chen: Added support for showing an 'index' of all the pages in the wiki.
* More changes from debian, but modified by myself to fit the above-changed code: fix unicode characters in page names; remove doubled new-lines in pre-formatted text; add syslogging; add option to bea ble to specify the IP and/or port to use; add a 'usage' function which shows a basic help page; implementation of a SIGINT handler in order to shutdown didiwiki cleanly.

I'd appreciate any feedback if anyone wants to compile and package the attached sources. There is at least one issue that I'd like to work out -that is that the 'edit' link shown at the top of each page always points to the main WikiHome page, instead of the page currently being viewed. This behaviour is in the original code and not the result of any of the above changes.

I have repackaged and re-versioned the whole mess as didiwiki-0.7 (the svn sources were using 0.6-svn). There is still some minor work to do adding even more info to the ChangeLog and including some useful extra files from the former debian patches.

Gilbert
didiwiki-0.7.tar.gz
Description  Updated sources for didiwiki
gz

 Download 
Filename  didiwiki-0.7.tar.gz 
Filesize  108.74 KB 
Downloaded  663 Time(s) 
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Wed 30 Sep 2009, 13:44    Post subject:  

I've fixed the remaining issues and fixed up the documents, etc:

2009-09-30 Gilbert Ashley <amigo@ibiblio.org>

* src/wiki.c
* src/wikitext.h
Fixed edit/delete functionality so that the links point to the
current page and not always the main WikiHome. This meant separating
EDITHEADER and PAGEHEADER into two independent headers.
* Added a man-page -taken from debian and slightly altered
* Added styles.css page -also taken from debian
* Added logo and toolbar png images taken from didiwiki website
* Added example didiwiki.conf
* Added didiwiki.1, styles.css, didiwiki-16.png, didiwiki.png,
didiwiki.conf and didiwiki.html to top-level Makefile.am
* Added notes about changes applied from debian patches to the
previous ChangeLog entry.
* Made small changes to the README file.
* Added names of all contributors to AUTHORS
* Added comments to the NEWS file.
* Edited the didiwiki.html file to remove out-dated information.
* configure.ac updated version to 0.8
* ran 'autoreconf -i' to generate new configuration files

Below is the attached archive:
didiwiki-0.8.tar.gz
Description  didiwiki-0.8.tar.gz
gz

 Download 
Filename  didiwiki-0.8.tar.gz 
Filesize  125.27 KB 
Downloaded  738 Time(s) 
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10847
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 30 Sep 2009, 16:24    Post subject:  

I compiled and packaged it on 2.14Xv14 located http://www.murga-linux.com/puppy/viewtopic.php?p=346253#346253
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7099
Location: Perth, Western Australia

PostPosted: Thu 01 Oct 2009, 06:55    Post subject:  

That's great!

One thing to note is that awhile back a couple of people fixed some things for running in Puppy. I don't recall what (or who did it), but it is probably documented in the forum somewhere and maybe in the source package.

Here is our patched source:

http://puppylinux.com/sources/alphabetical/d/didiwiki-0.5-5.1-pup1.tar.gz

It might be worth taking a look, see if they did anything useful that you could add to your package.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Thu 01 Oct 2009, 09:55    Post subject:  

Excellent, Barry! Tanks for that link. I'll check to see if there's anything in there different. Do you still include didiwiki in the distro?
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10847
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 01 Oct 2009, 10:10    Post subject:  

amigo wrote:
Excellent, Barry! Tanks for that link. I'll check to see if there's anything in there different. Do you still include didiwiki in the distro?


yes its in the latest version Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Thu 01 Oct 2009, 13:45    Post subject:  

Okay, I've checked and the 0.5-5.1-pup sources don't contain any fixes not found in my sources -there was just one or two of the debian fixes/features for that version which were applied.
The new 0.8 version is more capable -I hope it gets a little testing, and if anyone has any ideas for what might be missing...
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 649
Location: Staffordshire

PostPosted: Fri 02 Oct 2009, 19:13    Post subject:  

I've compiled it on 214X14.1.
Only one issue: After saving a change, clicking on edit show the previous edit, not the one just made.
I've found this only happens with Dillo - using Firefox avoids this problem.
Ttuuxxx's version took me to the homepage when trying to edit - only tried it with Dillo (before compiling from source), so don't know if it's a browser issue.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Mon 05 Oct 2009, 16:08    Post subject:  

"I've found this only happens with Dillo" That's because dillo doesn't automatically update the cached page when 'revisiting' it.
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Thu 17 Jan 2013, 16:06    Post subject:  

Hi

I've added DidiWiki to the Puppy Wiki-
http://puppylinux.org/wikka/DidiWiki

Is this the only place the v0.8 source code is available?

The old v0.5x code is still listed in a bunch of places, not sure they know about 0.8 . . .
https://aur.archlinux.org/packages/didiwiki/
http://c2.com/cgi/wiki?DidiWiki
http://www.wikimatrix.org/show/DidiWiki

I've started using DidiWiki for note keeping, and may well want to tinker with the code. Thanks for the update Cool

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Thu 17 Jan 2013, 16:27    Post subject:  

Wow, I just happened to see your posting. Please communicate directly with me by email, if you need support or have changes you want to see incorporated (sort-of) upstream.

Wait, I wasn't aware of CiWiki. It looks more promising than depending on my hacks (and motivation). I'll be looking further at that!

Thanx for the mention on the arch web page, although the forked CiWiki is probably gonna be lots better.
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2481
Location: near here

PostPosted: Thu 17 Jan 2013, 16:54    Post subject:  

I haven't tried CiWiki, looks to have more features, but not as well known - for example not on WikiMatrix or AUR.

I'm going to stick with Didi for now I see how I get on ; -)

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")

Last edited by darkcity on Thu 17 Jan 2013, 17:07; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Thu 17 Jan 2013, 16:59    Post subject:  

Another wait! I just noticed that the fork is using my sources as a base! Who is this redonnet fellow anyway? A cursory look through the sources shows some really nasty looking changes and sloppy archive maintenence -hope they are really harmless and the underlying C code is okay... Lots of extra features in there -might be some optimum compromise in the earlier versions of CiWiki.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0827s ][ Queries: 13 (0.0109s) ][ GZIP on ]