Re: [asciidoc-discuss] asciidoc format wiki?

2007-01-29 Thread Pavel Jurus
Hello,
I use asciidoc in wiki-like fashion. I wanted something simple as a personal 
wiki - I don't need neither collaborative features of wiki nor revision 
control ( I use subversion for that ). After trying several wiki engines and 
web frameworks I ended up with a simple webpy application similar to 
http://www.sitepoint.com/blogs/2006/01/06/a-simple-wiki-with-webpy/ . 
Instead of markdown in that example I use asciidoc and it works very well so 
far. 

The only hack was to link /usr/bin/asciidoc to asciidoc.py in the directory of 
web.py application. Now I can simply import asciidoc and use it as a python 
module, I call for example 
asciidoc.asciidoc('xhtml11', 'article', (), page, 'stdout', ())
from my python code and display the result as a web page. This means, that I 
have directory full of my text documents in asciidoc format, and I can view 
them on-the-fly as xhtml in my web browser.

Pavel





On Sunday 28 January 2007 22:26, Stuart Rackham wrote:
 One thing that may be worth mentioning, asciidoc can act as a filter and
 along with the -s option you can markup a text stream. For example try:

 echo '*Hello World!*' | asciidoc -s -

 Not very sophisticated but may be useful as a proof of concept.


 Cheers, Stuart

 Dag Wieers wrote:
  On Sat, 27 Jan 2007, Felix Obenhuber wrote:
  i'm wondering, if there's a wiki out there with uses asciidoc markup?
  Using several markups for writing docs, wikis etc. isn't really what i
  wantone type should be enough... do you know anything?
 
  I think what is needed is to allow the asciidoc-library to be used as a
  backend to python-based wiki's. For that there should be a usable
  interface for asciidoc. (eg. a loadable asciidoc module maybe)
 
  I haven't looked at the code yet if it is possible. But if it isn't I
  don't think it would be a lot of work to do it.
 
  I imagine something like a textfile (asciidoc) based wiki. Files are
  kept in git, so i can use vim (with adopted vimki) to write asciidoc
  textfiles and commit those. Modifying a suited wiki solution to show
  htmls generated from the asciidoc files and perform a commit on pressing
  the save button  after editing over web frontend.
 
  We want this for our work as well. An asciidoc-frontend and indexing
  system for storage of text-files. The backend is a versioning system
  (subversion in our case).
 
  I see the folowing advantages:
 
   * easy export in lots of format, thanks to asciidoc
   * fast and reliable storage through git
   * collaborative writing by syncing git repositories
   * comfortable browsing by wiki web frontend
   * store non text blobs in git - list them in some way for access (don't
  know about the best way.
 
  Right, nothing to add here :)
 
  Maybe a python based wiki is most suited for an direct asciidoc
  integration...
 
  What do you think about? Have a akin homebrew solution? Tell me.
 
  I'm willing to commit time to this as well. I'm very interested in using
  Django combined with this. Keep me in sync, whatever you plan to do :)
 
  Kind regards,
  --   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
  [all I want is a warm bed and a kind word and unlimited power]
 
  ___
  Asciidoc-discuss mailing list
  Asciidoc-discuss@metaperl.com
  http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

 ___
 Asciidoc-discuss mailing list
 Asciidoc-discuss@metaperl.com
 http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

___
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss


Re: [asciidoc-discuss] asciidoc format wiki?

2007-01-28 Thread Dag Wieers
On Sat, 27 Jan 2007, Felix Obenhuber wrote:

 i'm wondering, if there's a wiki out there with uses asciidoc markup? Using
 several markups for writing docs, wikis etc. isn't really what i wantone 
 type
 should be enough... do you know anything?

I think what is needed is to allow the asciidoc-library to be used as a 
backend to python-based wiki's. For that there should be a usable 
interface for asciidoc. (eg. a loadable asciidoc module maybe)

I haven't looked at the code yet if it is possible. But if it isn't I 
don't think it would be a lot of work to do it.


 I imagine something like a textfile (asciidoc) based wiki. Files are kept in 
 git,
 so i can use vim (with adopted vimki) to write asciidoc textfiles and commit
 those. Modifying a suited wiki solution to show htmls generated from the 
 asciidoc
 files and perform a commit on pressing the save button  after editing over web
 frontend.

We want this for our work as well. An asciidoc-frontend and indexing 
system for storage of text-files. The backend is a versioning system 
(subversion in our case).


 I see the folowing advantages:
  
  * easy export in lots of format, thanks to asciidoc
  * fast and reliable storage through git
  * collaborative writing by syncing git repositories
  * comfortable browsing by wiki web frontend
  * store non text blobs in git - list them in some way for access (don't know
about the best way.

Right, nothing to add here :)


 Maybe a python based wiki is most suited for an direct asciidoc
 integration...
 
 What do you think about? Have a akin homebrew solution? Tell me.

I'm willing to commit time to this as well. I'm very interested in using 
Django combined with this. Keep me in sync, whatever you plan to do :)

Kind regards,
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

___
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss


Re: [asciidoc-discuss] asciidoc format wiki?

2007-01-28 Thread Stuart Rackham
One thing that may be worth mentioning, asciidoc can act as a filter and 
along with the -s option you can markup a text stream. For example try:

echo '*Hello World!*' | asciidoc -s -

Not very sophisticated but may be useful as a proof of concept.


Cheers, Stuart


Dag Wieers wrote:
 On Sat, 27 Jan 2007, Felix Obenhuber wrote:
 
 i'm wondering, if there's a wiki out there with uses asciidoc markup? Using
 several markups for writing docs, wikis etc. isn't really what i wantone 
 type
 should be enough... do you know anything?
 
 I think what is needed is to allow the asciidoc-library to be used as a 
 backend to python-based wiki's. For that there should be a usable 
 interface for asciidoc. (eg. a loadable asciidoc module maybe)
 
 I haven't looked at the code yet if it is possible. But if it isn't I 
 don't think it would be a lot of work to do it.
 
 
 I imagine something like a textfile (asciidoc) based wiki. Files are kept in 
 git,
 so i can use vim (with adopted vimki) to write asciidoc textfiles and commit
 those. Modifying a suited wiki solution to show htmls generated from the 
 asciidoc
 files and perform a commit on pressing the save button  after editing over 
 web
 frontend.
 
 We want this for our work as well. An asciidoc-frontend and indexing 
 system for storage of text-files. The backend is a versioning system 
 (subversion in our case).
 
 
 I see the folowing advantages:
  
  * easy export in lots of format, thanks to asciidoc
  * fast and reliable storage through git
  * collaborative writing by syncing git repositories
  * comfortable browsing by wiki web frontend
  * store non text blobs in git - list them in some way for access (don't know
about the best way.
 
 Right, nothing to add here :)
 
 
 Maybe a python based wiki is most suited for an direct asciidoc
 integration...

 What do you think about? Have a akin homebrew solution? Tell me.
 
 I'm willing to commit time to this as well. I'm very interested in using 
 Django combined with this. Keep me in sync, whatever you plan to do :)
 
 Kind regards,
 --   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
 [all I want is a warm bed and a kind word and unlimited power]
 
 ___
 Asciidoc-discuss mailing list
 Asciidoc-discuss@metaperl.com
 http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
 

___
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss