Re: Converting JSPWiki to HTML

2021-10-05 Thread Jürgen Weber
There is

https://jspwiki.apache.org/apidocs/2.11.0.M4/org/apache/wiki/WikiEngine.html#getHTML-java.lang.String-

Guess you could add a servlet/service/tag to JSPWiki that calls it

Am Di., 5. Okt. 2021 um 12:27 Uhr schrieb Archan Ranade
:
>
> Hi,
>
> Please let me know how to convert JSPWiki to HTML as a standalone utility? I 
> do not want to deploy the JSPWiki to a Tomcat server. Instead, I want to 
> achieve the functionality of converting JSPWiki to HTML through a main 
> program as a standalone utility. Please let me know how to do this. The other 
> way around seems simple enough by using HtmlStringToWikiTranslator for HTML 
> to JSPWiki conversion. Please let me know how to do JSPWiki to HTML.
>
>
> Thanks,
> Archan Ranade
>
> [Logo]
>
> Archan Ranade | Software Engineer
>
> e: archan.ran...@opshub.com  | w: 
> https://www.opshub.com/
> p:  +1.650.701.1800
>
> [facebook icon] [twitter icon] 
>   [youtube icon] 
>  
>  [linkedin icon] 
>
>


Re: Converting JSPWiki to HTML

2021-10-05 Thread Roland Whitehead

On 05/10/2021 at 11:26, Archan Ranade wrote:

Please let me know how to convert JSPWiki to HTML as a standalone utility? I do 
not want to deploy the JSPWiki to a Tomcat server. Instead, I want to achieve 
the functionality of converting JSPWiki to HTML through a main program as a 
standalone utility. Please let me know how to do this. The other way around 
seems simple enough by using HtmlStringToWikiTranslator for HTML to JSPWiki 
conversion. Please let me know how to do JSPWiki to HTML.


I replicated a JSPWiki site to static pages for public access with a 
simple shell script on a cron task. The shell script ran "wget" to get a 
clone of the site complete with any embedded images etc and then ran a 
set of "sed" tasks to remove things like log in links and anything that 
wasn't necessary for access. I don't have the script any more but it 
wasn't hard to write and should be done in 20 minutes or so even with 
multiple guesses/web searches for the sed parameters... Does rather 
require that this is running on a *nix based system and not Windows...


Shout if you want some more pointers.


Roland Whitehead



Converting JSPWiki to HTML

2021-10-05 Thread Archan Ranade
Hi,

Please let me know how to convert JSPWiki to HTML as a standalone utility? I do 
not want to deploy the JSPWiki to a Tomcat server. Instead, I want to achieve 
the functionality of converting JSPWiki to HTML through a main program as a 
standalone utility. Please let me know how to do this. The other way around 
seems simple enough by using HtmlStringToWikiTranslator for HTML to JSPWiki 
conversion. Please let me know how to do JSPWiki to HTML.


Thanks,
Archan Ranade

[Logo]

Archan Ranade | Software Engineer

e: archan.ran...@opshub.com  | w: 
https://www.opshub.com/
p:  +1.650.701.1800

[facebook icon] [twitter icon] 
  [youtube icon] 
  
[linkedin icon]