veryquickwiki-users Mailing List for Very Quick Wiki
Status: Abandoned
Brought to you by:
mteodori
This list is closed, nobody may subscribe to it.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(1) |
2010 |
Jan
|
Feb
|
Mar
(9) |
Apr
|
May
(4) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: John M. <jb...@mi...> - 2013-09-28 00:02:11
|
Hi folks, Ran into a conundrum here.. I moved the wiki to a new server and all seem to work right until I wanted to edit a document. Got the error: =========== This topic is being edited by someone else at the moment. Try again in a few minutes. *jb...@es... * ========== Which is me.. I checked file permissions, logged into admin and hit the panic reset button.. waited 24 hours and still the same error. I notice a lot of .lock files.. can I delete those to clean up the issues.. Any suggestions would be very helpful.. John... |
From: Marcello T. <mte...@us...> - 2012-01-03 12:20:47
|
Hi Arianna, the only thing I can think of as an export of a wiki page as text is to append the read raw action to your wiki topic, for example like this http://www.jugmilano.it/vqwiki/jsp/Wiki?StyleSheet&action=read_raw instead of: http://www.jugmilano.it/vqwiki/jsp/Wiki?StyleSheet There's no direct feature to export a page with tables to Excel or convert number formats, the wiki treats everything as text. Here you can either copy the table from the browser and paste into excel then replace values manually as text then convert cells to numbers, or if you're a java developer, develop a plugin for vqwiki to export the page in your desired format. You can find more details on the VQWiki web site: http://www.vqwiki.org/ Or you can file an enhancement on Jira with your request for a future release: http://issues.vqwiki.org Hope it helps, Marcello Il giorno 03/gen/2012, alle ore 12:58, Gaetani,Arianna,MILANO,Stagista ha scritto: > Hi, > > we would like to have your support in order to understand how to convert the decimal separator, in a query output, with comma instead of point. > We have this problem because we need to export the output data in an excel file. > > ACTUAL FORMAT EXPECTED FORMAT > 3872.82 3872,82 > > Is there any functionality to download the output data from wiki in text or excel file? > > Thank you, > Arianna |
From: Thilo S. <thilo.schoenert@n.zgs.de> - 2011-09-12 22:55:40
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font face="Georgia">Hello all,<br> right now I'm doing the migration of our team wiki from version 2.7.6 to 2.8.1.<br> The plugin "include" does not work in formally way. There is no formatting at topic. From my side it looks like that the LayoutLexer does not call with "include"-text.<br> Please could you give a hint to fix the problem.<br> Thanks in advance.<br> Thilo<br> </font> </body> </html> |
From: Russ T. <ru...@re...> - 2011-02-24 00:35:38
|
At 1:01 PM +0100 2/23/11, ch...@cc... wrote: >Ðhi ! > >[snip] >and .. >who know how to import from vqwiki to mediawiki >? .. is there any tool for it ? > please see: http://sourceforge.net/mailarchive/message.php?msg_id=25876006 |
From: <ch...@cc...> - 2011-02-23 12:18:53
|
hi ! VeryQuickWiki Version 2.7.1 yes old .. i know :) i need to export the wiki but .. i click on Export2HTML .. after ~ 40% .. java.lang.NoClassDefFoundError: org/apache/taglibs/standard/tag/common/fmt/BundleSupport javax.servlet.jsp.jstl.fmt.LocaleSupport.getLocalizedMessage(Unknown Source) javax.servlet.jsp.jstl.fmt.LocaleSupport.getLocalizedMessage(Unknown Source) org.apache.jsp.jsp.servlet_002derror_jsp._jspService(servlet_002derror_jsp.java:120) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) vqwiki.servlets.VQWikiServlet.dispatch(VQWikiServlet.java:39) vqwiki.servlets.VQWikiServlet.error(VQWikiServlet.java:27) vqwiki.servlets.ExportHTMLServlet.dispatchDone(ExportHTMLServlet.java:866) vqwiki.servlets.LongLastingOperationServlet.doPost(LongLastingOperationServlet.java:116) vqwiki.servlets.ExportHTMLServlet.doPost(ExportHTMLServlet.java:129) vqwiki.servlets.LongLastingOperationServlet.doGet(LongLastingOperationServlet.java:147) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) vqwiki.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50) any idea about this ? :( and .. who know how to import from vqwiki to mediawiki ? .. is there any tool for it ? thanks for reply's chris. Email sent using Axigen Free Mail Server: http://www.axigen.com/mail-server/free |
From: Russ T. <ru...@re...> - 2010-08-04 06:09:41
|
Hi, I have released a vqwiki-to-MediaWiki content converter here: http://github.com/russt/wikiconvert [click on the "Download Source" icon on the upper-right.] This is a small set of programs written in Cado, which is an interpreted language I invented in 2003, and later open-sourced by Sun Microsystems in 2006. You can download the latest version of Cado here: https://sourceforge.net/projects/cado/files/ Let me know if you find the converter useful, or have any problems. I'm including the README file below. cheers, -Russ INTRODUCTION This is a little project to convert vqwiki (http://www.vqwiki.org/) source content to MediaWiki (http://www.mediawiki.org/) content. The first question to answer, is why would anyone need to do this? In my case, I took a job where I needed to convert over 700 pages of vqwiki content to MediaWiki format. Another use might be for vqwiki developers to create test pages if they decide to fully support MediaWiki as an alternative content syntax at some point in time. There are a plethora of wiki syntaxes out there, and some effort has been made to standardize them, but currently, content authors are punished to some extent by having their content trapped within a particular arcane wiki syntax. Another use of this project might be to extend the translator to handle other output formats, or indeed a different input syntax. The latter problem is more difficult, but the former problem is relatively trivial, as you can see from the two short scripts which convert what I call "wiki intermediate form" (wif) to some other syntax: o wif2mwiki.cg - convert from wif to MediaWiki syntax o wif2vq.cg - convert from wif to vqwiki syntax (especially trivial!) This is the idea behind many wiki translators, and indeed there is a standard that has been developed called Creole (http://www.wikicreole.org/) as an attempt to standardize wiki syntaxes, or at the very least, provide a method that wiki implementers can use to translate to a standardized intermediate form. IMPLEMENTATION This conversion is implemented in a language called "Cado", which I invented in 2003, and have used and extended over the last several years to solve many interesting translation and code-generation problems. Cado allowed me to write the translator as a series of regular expressions. Some of them are a little complex, but once you get the hang of them, they are very easy to modify. So if you have some content that I don't handle, for example, it should be relatively easy to add. Cado is currently hosted here: http://sourceforge.net/projects/cado You will need Cado version 1.81 or later for the translation to succeed. Cado is an interpreter that is wrapped around Perl. It is a very simple language that allows one to write and document translations in a simple declarative form. Cado can be easily extended by adding Perl operators or external shell commands. One can also call Perl functions, including Cado operators, from the replacement section of a substitution operation. I used this in several places to implement the pattern (for those familiar with the ex/vi/ed/vim class editors): g/somepattern/s/pattern/replacement/ Implementing such a construct in Perl usually involves reading in a file, and using the grep() function with a substitution pattern. Here is one way you can do it in Cado: #eliminate line-breaks within blocks, and put back quote tokens: CG_SUBSTITUTE_SPEC2 = s/$UNIVTOK//gs CG_SUBSTITUTE_SPEC = s/$UNIVTOK2([^$UNIVTOK2]*)$UNIVTOK2/sprintf("{=VQ_JAVA_LQ=}%s{=VQ_JAVA_RQ=}", &s2_op(${DS}1))/egs #apply the substitution to the input: %void $INPUT:substitute:assign The trick here is to call the secondary substitution operator (:s2 op, called directly as a Perl function: &s2_op()) directly from the replacement expression held in $CG_SUBSTITUTE_SPEC. This is very similar to the "g//s///" editor pattern mentioned above, where we first pick out the range of lines we want to operate on with a g// pattern, and then process a substitution on those lines. With Cado specifications, we can have even finer grained control, since we are not limited to line-based operations. Another thing to be aware of, when reading the substitution expressions, is the order in which things occur. In the above expressions, for example, $UNIVTOK and ${DS} are interpolated by Cado before the resulting substitution expression is passed to Perl. (This is because I used the "=" operator instead of the ":=" operator, the latter of which suppresses interpolation.) HOW TO START: First, you must get your vqwiki into file-based content. This may involve writing a bit of sql. In my case, I have always used file-based persistence. You might try a vqwiki testbed starting with file-based persistence, to avoid the initial problem of extracting your content from your database. I.e., fire up a file-base vqwiki and then just cut/paste a few pages from your original, database-persisted vqwiki instance. Of course you can also paste content directly into files and save them to disk, under the topic names you want to translate. Once you have your content in some files, examine the script "convert.sh", which converts a list of topics that you provide. Note the many test topics I have commented out - you can modify the script to just try a couple of your topics in a similar fashion, to get a handle on the translation process. Second, you will need an instance of a wiki that purports to understand MediaWiki syntax, to observe the rendering of your translated pages. In my case, I used a lovely little wiki called JAMWiki (http://jamwiki.org/). JAMWiki is implemented using java servlet technology, and so its war bundle can be dropped, for example, into a Tomcat instance, and be up and running very quickly. You may be able to use the same container as your vqwiki instance. AUTOMATIC POSTING VIA CURL TO JAMWIKI I have enclosed a script "editwiki.cg" which will post your new MediaWiki content directly to a JAMWiki instance. I have used curl to do the heavy lifting (http://curl.haxx.se/). If you do not want to try this right away, then just comment out the line that calls editwiki.cg in the convert.sh driver. If you do want to try out automated posting, you will need to provide the url of your local JAMWiki instance in the variable $TOPIC_BASE_URL in convert.sh. If you have a troublesome page that is not getting loaded, then try that topic alone and examine the files in bld/edit/*, to see if you can gets some hints of what went wrong. One thing that will go wrong, is the spam filter provided by JAMWiki will likely interfere with content containing html. Go to the JAMWiki configuration page and disable the spam filter (you may want to enable it again later if your JAMWiki is external facing). Note that when I run convert.sh on my 700+ pages of content, it takes about 5 minutes to translate and post all content to JAMWiki, or about 2.3 pages per second (2.4GHz MacBook Pro). LINKING.PROPERTIES If you use the linking.properties feature of vqwiki, note that I will translate these to MediaWiki format if you supply your linking.properties file to the translator. The translation will expand the shorthand links to one-line HREFS, which are recognized later by wif2mwiki.cg, and magically become regular MediaWiki external topic links. NOT HANDLED At this time, I am not handling upload artifacts, or image-linked urls. If you have a large amount of embedded [<java>] or [<html>] tags, the content will be preserved but will not be rendered as vqwiki does. This is an area where vqwiki is ahead of the curve. Another area is that vqwiki will render images inline, and so any pictures you are expecting in your content will have to be uploaded and converted to local references to achieve the same effect. Linking property prefixes containing dash ("-") or other non-alphanumeric characters, are not currently handled properly. COMMENTS, SUGGESTIONS, PROBLEMS? If you find a use for this little project, or need help in some way to get it working, please do not hesitate to contact me via email: russt (at) releasetools.org. Russ Tremain July 2010 |
From: Russ T. <ru...@re...> - 2010-07-21 22:33:44
|
Hi, back working on my vqwiki -> mediawiki source translator. I'm now able to do round-trip conversion from vqwiki -> intermediate form -> vqwiki again, for my source content, which is about 800 pages. So I'm starting to work on the mediaWiki tags, learning as I go. I'm a bit stuck on the following vqwiki tags: VQ_HTML_LQ = [<html>] VQ_HTML_RQ = [</html>] VQ_JAVA_LQ = [<java>] VQ_JAVA_RQ = [</java>] It seems that mediaWiki has no equivalent syntax to demarcate embedded html - or am I missing something? Perhaps I can just discard these tags? I'm pretty sure the <java> tags are special to vqwiki, right? thanks a lot for any help! -Russ |
From: Russ T. <ru...@re...> - 2010-07-21 14:13:54
|
Hi John, perhaps you misunderstand my problem. I do not need to extract the vqwiki topics from a database, I can simply process them directly, since they already reside on disk (I use file-based persistence). My translation program could add some functionality to extract topic source from the database. Using sql functions like replace to translate wiki source into a different wiki syntax is an interesting approach, but I think the problem is a bit harder than that. best, -Russ At 12:37 PM +0200 7/21/10, Johan Lindell wrote: >Hi again Russ, > >Well, if you were able to switch to a database >(like mysql or ms sql server) you would be able >to: >- Extract the actual text in the topics >rather than the html presentation of the texts >on each page/topic and >- Use sql functions like replace to change the wiki syntax. > >Depending on the amount of information it could >be worthwhile to explore this alternative. > >MVH/Brgds > >Johan > >From: Russ Tremain [mailto:ru...@re...] >Sent: Tuesday, July 20, 2010 7:57 PM >To: Marcello Teodori >Cc: Johan Lindell; ver...@li... >Subject: Re: [veryquickwiki-users] convert vqwiki to mediawiki? > >Hi, > >I'm not sure how exporting from the database >helps me, since the issue is translation from >vqwiki syntax to mediawiki syntax in source >documents, and I don't even use a database. ;) > >Since my post, I have tried a few things, and made some progress. > >First, I tried to use a perl-based html-to-wiki >translator (found ><http://search.cpan.org/~diberri/Bundle-HTMLWikiConverter-0.04/>here): > > html2wiki --dialect MediaWiki topic_file ... > >This failed miserably even for simple pages. > >If you think about it, it seems like a much >harder problem to convert html-ified wiki >content, verses just translating the original >wiki source form. Ultimately, I decided to take >the latter approach, and have written a >translator to do the job. The translator takes >this approach: > >I. tokenize the original vqwiki sources to a >generalized intermediate form (some have used >XML for this; I did not) >II. define mediawiki macros to translate the >intermediate form to a different syntax. > >As an simple example, here is the intermediate form for a Topic: > >{=VQ_TOPIC_LQ=}SomeTopic{=VQ_TOPIC_RQ=} > >So if I define: > >VQ_TOPIC_LQ = [[ >VQ_TOPIC_RQ = ]] > >then I can output mediaWiki syntax (actually >vqwiki already allows this input syntax, along >with back-tick quotes, but you get the idea.) > >Obviously the full problem is deeper than this, >but I believe I have solved most of it. I will >post the sources somewhere after I do some more >testing. > >Step II. could theoretically be any arbitrary >wiki syntax, though at the present time I am >only interested in mediawiki. > >As an aside, I also had the idea of switching >vqwiki to use mediawiki input syntax, by setting: > > link-lexer=null >parser=vqwiki.lex.DefaultWikiParser > layout-lexer=vqwiki.lex.MediaWikiHTML > format-lexer=vqwiki.lex.MediaWikiSyntax >in WEB-INF/classes/vqwiki.properties. However, >it doesn't seem to do much. Either I'm not >doing it right, or the work was never finished >on this lexer. I followed the instructions ><http://www.vqwiki.org/docs/vqwiki-book.html>here. > >I think this is a better long term approach for >the community, since it would allow vqwiki as an >alternative to JAM and/or the full MediaWiki >behemoth. In my case, the only goal is to force >myself to start using media-wiki syntax. There >are serveral things I like about vqwiki over >other wiki's, like the fact that I don't have to >use a database for a small installation on my >laptop. Keeping the topics in the filesystem >makes it very easy to move around and to backup. > >cheers, >-Russ > > >At 5:42 PM +0100 7/20/10, Marcello Teodori wrote: > >Hi, thanks for this useful info, it's something >that should be added to the documentation as a >FAQ entry or somewhere else. > >I've been thinking a lot about adding a sort of >driver concept support to the Export2HTML >feature to allow exporting to different file >formats, mostly with the Creole format in mind >to avoid vqwiki syntax lock-in and also allow >changing the syntax at a future version upgrade. > > > >-- > >Marcello Teodori > > > >On 16/lug/2010, at 14.15, Johan Lindell wrote: > > > >Hi Russ, > > > >If you switch to database mode you can retrieve >the contents from the Topic table. If you set up >database persistence you can import the >wiki-pages/files to the database and the >retrieve them from there > > > >Med Vänliga Hälsningar > >Johan Lindell > > > >Vimur AB > > > >+46 73 600 27 93 > >joh...@vi... > > > >Sövdeborgsgatan 13 > >216 19 MALMÖ > > > >From: Russ Tremain [mailto:ru...@re...] >Sent: Monday, July 12, 2010 6:47 PM >To: ver...@li... >Subject: [veryquickwiki-users] convert vqwiki to mediawiki? > > > >Hi, > > > >I've written a lot of content in vqwiki, but >unfortunately my current employer uses media >wiki for mark-up. > > > >Any hints on the easiest way to convert content from vqwiki to mediawiki? > > > >I'm currently using vqwiki 2.8.1. > > > >Possibly I can go the Export2HTML route, but that seems error prone. > > > >thanks, > >-Russ > > > >P.S. here is a useful post, which summarized a >bunch of conversion tools last year. Seems like >Atlassian has the most mature tool, but it is to >convert everything to Confluence (their product). > >------------------------------------------------------------------------------ > >This SF.net email is sponsored by Sprint >What will you do first with EVO, the first 4G phone? >Visit sprint.com/first -- <http://p.sf.net/sfu/sprint-com-first_______________________________________________>http://p.sf.net/sfu/sprint-com-first_______________________________________________ >veryquickwiki-users mailing list ><mailto:ver...@li...>ver...@li... ><https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users>https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users > > |
From: Johan L. <joh...@vi...> - 2010-07-21 10:40:08
|
Hi again Russ, Well, if you were able to switch to a database (like mysql or ms sql server) you would be able to: - Extract the actual text in the topics rather than the html presentation of the texts on each page/topic and - Use sql functions like replace to change the wiki syntax. Depending on the amount of information it could be worthwhile to explore this alternative. MVH/Brgds Johan From: Russ Tremain [mailto:ru...@re...] Sent: Tuesday, July 20, 2010 7:57 PM To: Marcello Teodori Cc: Johan Lindell; ver...@li... Subject: Re: [veryquickwiki-users] convert vqwiki to mediawiki? Hi, I'm not sure how exporting from the database helps me, since the issue is translation from vqwiki syntax to mediawiki syntax in source documents, and I don't even use a database. ;) Since my post, I have tried a few things, and made some progress. First, I tried to use a perl-based html-to-wiki translator (found here<http://search.cpan.org/~diberri/Bundle-HTMLWikiConverter-0.04/>): html2wiki --dialect MediaWiki topic_file ... This failed miserably even for simple pages. If you think about it, it seems like a much harder problem to convert html-ified wiki content, verses just translating the original wiki source form. Ultimately, I decided to take the latter approach, and have written a translator to do the job. The translator takes this approach: I. tokenize the original vqwiki sources to a generalized intermediate form (some have used XML for this; I did not) II. define mediawiki macros to translate the intermediate form to a different syntax. As an simple example, here is the intermediate form for a Topic: {=VQ_TOPIC_LQ=}SomeTopic{=VQ_TOPIC_RQ=} So if I define: VQ_TOPIC_LQ = [[ VQ_TOPIC_RQ = ]] then I can output mediaWiki syntax (actually vqwiki already allows this input syntax, along with back-tick quotes, but you get the idea.) Obviously the full problem is deeper than this, but I believe I have solved most of it. I will post the sources somewhere after I do some more testing. Step II. could theoretically be any arbitrary wiki syntax, though at the present time I am only interested in mediawiki. As an aside, I also had the idea of switching vqwiki to use mediawiki input syntax, by setting: link-lexer=null parser=vqwiki.lex.DefaultWikiParser layout-lexer=vqwiki.lex.MediaWikiHTML format-lexer=vqwiki.lex.MediaWikiSyntax in WEB-INF/classes/vqwiki.properties. However, it doesn't seem to do much. Either I'm not doing it right, or the work was never finished on this lexer. I followed the instructions here<http://www.vqwiki.org/docs/vqwiki-book.html>. I think this is a better long term approach for the community, since it would allow vqwiki as an alternative to JAM and/or the full MediaWiki behemoth. In my case, the only goal is to force myself to start using media-wiki syntax. There are serveral things I like about vqwiki over other wiki's, like the fact that I don't have to use a database for a small installation on my laptop. Keeping the topics in the filesystem makes it very easy to move around and to backup. cheers, -Russ At 5:42 PM +0100 7/20/10, Marcello Teodori wrote: Hi, thanks for this useful info, it's something that should be added to the documentation as a FAQ entry or somewhere else. I've been thinking a lot about adding a sort of driver concept support to the Export2HTML feature to allow exporting to different file formats, mostly with the Creole format in mind to avoid vqwiki syntax lock-in and also allow changing the syntax at a future version upgrade. -- Marcello Teodori On 16/lug/2010, at 14.15, Johan Lindell wrote: Hi Russ, If you switch to database mode you can retrieve the contents from the Topic table. If you set up database persistence you can import the wiki-pages/files to the database and the retrieve them from there Med Vänliga Hälsningar Johan Lindell Vimur AB +46 73 600 27 93 joh...@vi... Sövdeborgsgatan 13 216 19 MALMÖ From: Russ Tremain [mailto:ru...@re...] Sent: Monday, July 12, 2010 6:47 PM To: ver...@li... Subject: [veryquickwiki-users] convert vqwiki to mediawiki? Hi, I've written a lot of content in vqwiki, but unfortunately my current employer uses media wiki for mark-up. Any hints on the easiest way to convert content from vqwiki to mediawiki? I'm currently using vqwiki 2.8.1. Possibly I can go the Export2HTML route, but that seems error prone. thanks, -Russ P.S. here is a useful post, which summarized a bunch of conversion tools last year. Seems like Atlassian has the most mature tool, but it is to convert everything to Confluence (their product). ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first_______________________________________________ veryquickwiki-users mailing list ver...@li...<mailto:ver...@li...> https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users |
From: Russ T. <ru...@re...> - 2010-07-20 18:23:34
|
Hi, I'm not sure how exporting from the database helps me, since the issue is translation from vqwiki syntax to mediawiki syntax in source documents, and I don't even use a database. ;) Since my post, I have tried a few things, and made some progress. First, I tried to use a perl-based html-to-wiki translator (found <http://search.cpan.org/~diberri/Bundle-HTMLWikiConverter-0.04/>here): html2wiki --dialect MediaWiki topic_file ... This failed miserably even for simple pages. If you think about it, it seems like a much harder problem to convert html-ified wiki content, verses just translating the original wiki source form. Ultimately, I decided to take the latter approach, and have written a translator to do the job. The translator takes this approach: I. tokenize the original vqwiki sources to a generalized intermediate form (some have used XML for this; I did not) II. define mediawiki macros to translate the intermediate form to a different syntax. As an simple example, here is the intermediate form for a Topic: {=VQ_TOPIC_LQ=}SomeTopic{=VQ_TOPIC_RQ=} So if I define: VQ_TOPIC_LQ = [[ VQ_TOPIC_RQ = ]] then I can output mediaWiki syntax (actually vqwiki already allows this input syntax, along with back-tick quotes, but you get the idea.) Obviously the full problem is deeper than this, but I believe I have solved most of it. I will post the sources somewhere after I do some more testing. Step II. could theoretically be any arbitrary wiki syntax, though at the present time I am only interested in mediawiki. As an aside, I also had the idea of switching vqwiki to use mediawiki input syntax, by setting: link-lexer=null parser=vqwiki.lex.DefaultWikiParser layout-lexer=vqwiki.lex.MediaWikiHTML format-lexer=vqwiki.lex.MediaWikiSyntax in WEB-INF/classes/vqwiki.properties. However, it doesn't seem to do much. Either I'm not doing it right, or the work was never finished on this lexer. I followed the instructions <http://www.vqwiki.org/docs/vqwiki-book.html>here. I think this is a better long term approach for the community, since it would allow vqwiki as an alternative to JAM and/or the full MediaWiki behemoth. In my case, the only goal is to force myself to start using media-wiki syntax. There are serveral things I like about vqwiki over other wiki's, like the fact that I don't have to use a database for a small installation on my laptop. Keeping the topics in the filesystem makes it very easy to move around and to backup. cheers, -Russ At 5:42 PM +0100 7/20/10, Marcello Teodori wrote: >Hi, thanks for this useful info, it's something >that should be added to the documentation as a >FAQ entry or somewhere else. >I've been thinking a lot about adding a sort of >driver concept support to the Export2HTML >feature to allow exporting to different file >formats, mostly with the Creole format in mind >to avoid vqwiki syntax lock-in and also allow >changing the syntax at a future version upgrade. > > >-- >Marcello Teodori > >On 16/lug/2010, at 14.15, Johan Lindell wrote: > >>Hi Russ, >> >>If you switch to database mode you can retrieve >>the contents from the Topic table. If you set >>up database persistence you can import the >>wiki-pages/files to the database and the >>retrieve them from there >> >>Med Vänliga Hälsningar >>Johan Lindell >> >>Vimur AB >> >>+46 73 600 27 93 >>joh...@vi... >> >>Sövdeborgsgatan 13 >>216 19 MALMÖ >> >>From: Russ Tremain [mailto:ru...@re...] >>Sent: Monday, July 12, 2010 6:47 PM >>To: ver...@li... >>Subject: [veryquickwiki-users] convert vqwiki to mediawiki? >> >>Hi, >> >>I've written a lot of content in vqwiki, but >>unfortunately my current employer uses media >>wiki for mark-up. >> >>Any hints on the easiest way to convert content from vqwiki to mediawiki? >> >>I'm currently using vqwiki 2.8.1. >> >>Possibly I can go the Export2HTML route, but that seems error prone. >> >>thanks, >>-Russ >> >>P.S. here is a useful post, which summarized a >>bunch of conversion tools last year. Seems >>like Atlassian has the most mature tool, but it >>is to convert everything to Confluence (their >>product). >>------------------------------------------------------------------------------ >>This SF.net email is sponsored by Sprint >>What will you do first with EVO, the first 4G phone? >>Visit sprint.com/first -- <http://p.sf.net/sfu/sprint-com-first_______________________________________________>http://p.sf.net/sfu/sprint-com-first_______________________________________________ >>veryquickwiki-users mailing list >><mailto:ver...@li...>ver...@li... >><https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users>https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users |
From: Marcello T. <mte...@us...> - 2010-07-20 16:42:15
|
Hi, thanks for this useful info, it's something that should be added to the documentation as a FAQ entry or somewhere else. I've been thinking a lot about adding a sort of driver concept support to the Export2HTML feature to allow exporting to different file formats, mostly with the Creole format in mind to avoid vqwiki syntax lock-in and also allow changing the syntax at a future version upgrade. -- Marcello Teodori On 16/lug/2010, at 14.15, Johan Lindell wrote: > Hi Russ, > > If you switch to database mode you can retrieve the contents from the Topic table. If you set up database persistence you can import the wiki-pages/files to the database and the retrieve them from there > > Med Vänliga Hälsningar > Johan Lindell > > Vimur AB > > +46 73 600 27 93 > joh...@vi... > > Sövdeborgsgatan 13 > 216 19 MALMÖ > > From: Russ Tremain [mailto:ru...@re...] > Sent: Monday, July 12, 2010 6:47 PM > To: ver...@li... > Subject: [veryquickwiki-users] convert vqwiki to mediawiki? > > Hi, > > I've written a lot of content in vqwiki, but unfortunately my current employer uses media wiki for mark-up. > > Any hints on the easiest way to convert content from vqwiki to mediawiki? > > I'm currently using vqwiki 2.8.1. > > Possibly I can go the Export2HTML route, but that seems error prone. > > thanks, > -Russ > > P.S. here is a useful post, which summarized a bunch of conversion tools last year. Seems like Atlassian has the most mature tool, but it is to convert everything to Confluence (their product). > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first_______________________________________________ > veryquickwiki-users mailing list > ver...@li... > https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users |
From: Johan L. <joh...@vi...> - 2010-07-16 14:15:43
|
Hi Russ, If you switch to database mode you can retrieve the contents from the Topic table. If you set up database persistence you can import the wiki-pages/files to the database and the retrieve them from there Med Vänliga Hälsningar Johan Lindell Vimur AB +46 73 600 27 93 joh...@vi... Sövdeborgsgatan 13 216 19 MALMÖ From: Russ Tremain [mailto:ru...@re...] Sent: Monday, July 12, 2010 6:47 PM To: ver...@li... Subject: [veryquickwiki-users] convert vqwiki to mediawiki? Hi, I've written a lot of content in vqwiki, but unfortunately my current employer uses media wiki for mark-up. Any hints on the easiest way to convert content from vqwiki to mediawiki? I'm currently using vqwiki 2.8.1. Possibly I can go the Export2HTML route, but that seems error prone. thanks, -Russ P.S. here is a useful post<http://ffeathers.wordpress.com/2009/09/14/getting-content-into-and-out-of-wikis/>, which summarized a bunch of conversion tools last year. Seems like Atlassian has the most mature tool, but it is to convert everything to Confluence (their product). |
From: Russ T. <ru...@re...> - 2010-07-12 17:13:59
|
Hi, I've written a lot of content in vqwiki, but unfortunately my current employer uses media wiki for mark-up. Any hints on the easiest way to convert content from vqwiki to mediawiki? I'm currently using vqwiki 2.8.1. Possibly I can go the Export2HTML route, but that seems error prone. thanks, -Russ P.S. here is a <http://ffeathers.wordpress.com/2009/09/14/getting-content-into-and-out-of-wikis/>useful post, which summarized a bunch of conversion tools last year. Seems like Atlassian has the most mature tool, but it is to convert everything to Confluence (their product). |
From: John M. <jb...@mi...> - 2010-05-22 23:30:07
|
Marcello Teodori wrote: Thanks for the reply... > Hi John, > I don't follow vqwiki since that long time, so I cannot help you in checking changes from version 2.0. > However there's a history page in the documentation which can help you: > http://www.vqwiki.org/docs/vqwiki-book.html#d0e189 > I did see that and it does not help.. > Anyway if setup a custom Apache mod_jk configuration selecting just some URLs you're pretty much on your own, I would publish the whole webapp to be safe. > > Sorry, I don't quite understand this comment, relative to my question..?? John... |
From: Marcello T. <mte...@us...> - 2010-05-22 21:45:19
|
Hi John, I don't follow vqwiki since that long time, so I cannot help you in checking changes from version 2.0. However there's a history page in the documentation which can help you: http://www.vqwiki.org/docs/vqwiki-book.html#d0e189 Anyway if setup a custom Apache mod_jk configuration selecting just some URLs you're pretty much on your own, I would publish the whole webapp to be safe. --m On 10/mag/2010, at 17.41, John Moore wrote: > John Moore wrote: >> At that point I had NOT done any configurations, I checked my server.xml >> and other setting to see if there was a stray "../jsp/.." floating around.. >> >> ..any suggestions on where this "jsp" is coming from...??? >> >> > Well I finally jury rigged it to work right... but I would still like to > know how it should work.. > > Basically I added, by hand, several JkMount commands.. > > JkMount /mywiki/jsp/Wiki ajp13 > JkMount /mywiki/jsp/ReadRawWiki ajp13 > > ..and then added one of these for each virtualwiki... > > JkMount /mywiki/avirtualwiki/ReadRawWiki ajp13 > > I'm sure this should not be necessary, but it was the only way to get it > back working.. > > If anyone has pointers on how it should be "fixed" then please enlighten > me.. > > John.. > > ------------------------------------------------------------------------------ > > _______________________________________________ > veryquickwiki-users mailing list > ver...@li... > https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users |
From: John M. <jb...@mi...> - 2010-05-10 16:05:20
|
John Moore wrote: > At that point I had NOT done any configurations, I checked my server.xml > and other setting to see if there was a stray "../jsp/.." floating around.. > > ..any suggestions on where this "jsp" is coming from...??? > > Well I finally jury rigged it to work right... but I would still like to know how it should work.. Basically I added, by hand, several JkMount commands.. JkMount /mywiki/jsp/Wiki ajp13 JkMount /mywiki/jsp/ReadRawWiki ajp13 ..and then added one of these for each virtualwiki... JkMount /mywiki/avirtualwiki/ReadRawWiki ajp13 I'm sure this should not be necessary, but it was the only way to get it back working.. If anyone has pointers on how it should be "fixed" then please enlighten me.. John.. |
From: John M. <jb...@mi...> - 2010-05-08 23:34:36
|
It's to long of a story for here, but I finally had to upgrade my 2.0.1 version to the latest.. (2.8.1) I realize that is a big jump and that may be some of my problem, but not all.. First I backed up and removed the old version.. deleted the folder in "../work/Standalone/mywikinamehere" restarted tomcat dropped in the new WAR file with the same name as was used previously, i.e. "mywikinamehere.war" Browsed to wiki folder and that redirected me to here.. http://wiki.mywiki.com/wiki/jsp/Wiki?StartingPoints ...folder not found.. (after much putsy around I found that) removing the "../jsp/.." got me to the first page to with the generated password. ..I then spend several hours trying to get rid of that "../jsp/.. in every url as I tried to browse the brand new wiki.. At that point I had NOT done any configurations, I checked my server.xml and other setting to see if there was a stray "../jsp/.." floating around.. ..any suggestions on where this "jsp" is coming from...??? Thanks.. |
From: Paul F. <pau...@ki...> - 2010-03-10 16:55:37
|
Go to admin page, login, and you will all sorts of stuff. You can "Purge Deleted Topics" there. Ta P -----Original Message----- From: Florian Gysin [mailto:fg...@id...] Sent: 10 March 2010 15:59 To: ver...@li... Subject: [veryquickwiki-users] How to perform a purge? Hi We use VQWiki at work for since quite some time. As we had some personal changes nobody employed right now has any idea how to work with it properly, it was just allways there. Now it's time for some cleaning up... Can someone please explain me how to perform a simple purge? I just want to delete all the topics that contain the 'delete'... I googled for that and looked on the homepage but was sadly not able to find anything. How do you purge? cheers and thanks for any answer, florian ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ veryquickwiki-users mailing list ver...@li... https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users __________ NOD32 4932 (20100310) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com |
From: Florian G. <fg...@id...> - 2010-03-10 16:48:58
|
Wow, figured out why I did not find the admin panel. Silly css defined the bottom area text in a way that it was not visible. Way to go for clicking on that admin field... ;) Anyway, found the panel now and am happy about all the functionality. Purge also works fine. Thank you. Paul French wrote: > Go to admin page, login, and you will all sorts of stuff. You can "Purge > Deleted Topics" there. > > Ta > > P > > -----Original Message----- > From: Florian Gysin [mailto:fg...@id...] > Sent: 10 March 2010 15:59 > To: ver...@li... > Subject: [veryquickwiki-users] How to perform a purge? > > Hi > We use VQWiki at work for since quite some time. As we had some personal > changes nobody employed right now has any idea how to work with it > properly, it was just allways there. Now it's time for some cleaning up... > > Can someone please explain me how to perform a simple purge? I just want > to delete all the topics that contain the 'delete'... I googled for that > and looked on the homepage but was sadly not able to find anything. How > do you purge? > > cheers and thanks for any answer, > florian > > > ---------------------------------------------------------------------------- > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > veryquickwiki-users mailing list > ver...@li... > https://lists.sourceforge.net/lists/listinfo/veryquickwiki-users > > __________ NOD32 4932 (20100310) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > -- _____________________________ Universität Bern Abteilung Informatikdienste Gruppe Verwaltungsinformatik Florian Gysin Softwareentwicklung Büro -105 Gesellschaftsstrasse 6 CH-3012 Bern Tel. +41 (0)31 631 50 73 mailto:fg...@id... http://www.id.unibe.ch |
From: Florian G. <fg...@id...> - 2010-03-10 16:13:43
|
Hi We use VQWiki at work for since quite some time. As we had some personal changes nobody employed right now has any idea how to work with it properly, it was just allways there. Now it's time for some cleaning up... Can someone please explain me how to perform a simple purge? I just want to delete all the topics that contain the 'delete'... I googled for that and looked on the homepage but was sadly not able to find anything. How do you purge? cheers and thanks for any answer, florian |
From: Adam Rosi-K. <ad...@ro...> - 2010-03-10 15:42:07
|
A related problem to my last post -- it appears that none of the vqwiki styles render in Firefox. I believe this is because the stylesheet is served (at least by winstone) as type text/html where it needs to be text/css to be rendered. Is there a fix to this problem? |
From: Adam Rosi-K. <ad...@ro...> - 2010-03-10 14:46:29
|
I'm looking for a way to add custom markup such as yellow highlighting. I know I can edit macro.properties to have HTML substituted, but this doesn't get me the "on" and "off" codes I want. E.g., I'd like to be able to enter something like: %%highlight text%% in wikimarkup and have it rendered as <span style="background-color:yellow"> highlight text </span> Is this possible? Adam |
From: Adam Rosi-K. <ad...@ro...> - 2010-03-10 14:43:31
|
Adam Rosi-Kessel wrote, on 3/7/2010 2:25 PM: > Marcello Teodori wrote, on 3/7/2010 11:26 AM: >> You can run multiple instances, but in that case I think it's easier >> to change settings using an external servlet container or if you're >> ok with it, use the virtual wikis feature in a single instance. > > Thanks -- I am trying to figure out how to give a friendly-name to a > virtual wiki with the winstone servlet container. There doesn't seem to > be a WIN-INF folder in the JAR file. Where do I need to drop > ApplicationResources.properties for that to work? I've answered my own question here -- needed to unpack the .war file to modify ApplicationResources.properties in there, and then pack that together, and pack that into the .jar file. Adam |
From: Adam Rosi-K. <ad...@ro...> - 2010-03-07 19:25:58
|
Marcello Teodori wrote, on 3/7/2010 11:26 AM: > You can run multiple instances, but in that case I think it's easier > to change settings using an external servlet container or if you're > ok with it, use the virtual wikis feature in a single instance. Thanks -- I am trying to figure out how to give a friendly-name to a virtual wiki with the winstone servlet container. There doesn't seem to be a WIN-INF folder in the JAR file. Where do I need to drop ApplicationResources.properties for that to work? Adam |
From: Marcello T. <mte...@us...> - 2010-03-07 16:26:23
|
Hi Adam, Il giorno 05/mar/2010, alle ore 19.37, Adam Rosi-Kessel ha scritto: > Not sure if this was best raised as an issue or forum posting: can > anyone tell me how to configure the HTTP port to something other than > 8080 for the standalone vqwiki JAR download? On a related note, is it > possible to run multiple instances on different ports? I think it's ok to post in this mailing list, maybe we should add something in the docs about this. VQWiki in standalone mode embeds the Winstone Servlet container, so all its command line options apply, you can find a full list here: http://winstone.sourceforge.net/#commandLine So to start it on, say, a 9090 port you should use: java -jar vqwiki.jar --httpPort=9090 You can run multiple instances, but in that case I think it's easier to change settings using an external servlet container or if you're ok with it, use the virtual wikis feature in a single instance. With the embedded servlet container it's tricky but you can do it: 1) add on the command line --jndi.param.propertiesFile.value=<your_custom_vqwiki.properties_file_path> 2) add on the command line --httpPort=<your_custom_port> 3) specify a custom tmp dir for Winstone: -Djava.io.tmpdir=<your_custom_tmpdif> 4) once started, go to admin and change the vqwiki home dir from the default <home>/wiki to a custom one I hope I've answered your question. --m |