Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-13) was last changed on 23-Jun-2006 09:19 by Janne Jalkanen  

This page was created on 30-Jan-2004 16:03 by JohnVolkar

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 4 lines
Publish a set of Wiki pages and attachments, as specified by the QueryPlugin, to a user defined directory, on some user-defined schedule. The directory could be made publicly accessible. In essence the Wiki could be used to author content that the PublishPlugin then (duh) publishes for read-only public consumption.
NOTE: {{baseURl}} would need stripped out or modified in the published HTML so relative links would work as expected. Interwiki links could be problematic too. Hmm, if the original Wiki was secured appropriately there wouldn't be any need of this plugin would there be?... Or would there?... maybe?... --JohnV
At line 3 changed one line
Insert the PublishPlugin on a page to publish plain HTML to a (public) directory periodically (on some schedule).
----
You could do this now with [wget|http://www.gnu.org/directory/wget.html]. Wget will walk a site and pull all the text and graphics. I have used it to strip a customer site to make sure we have all the HTML and graphics before we make changes. It will accept a list of pages to look at, so you can pick and choose what pages you extract. Wget is open source and there are precompiled Unix/Linux/Windows versions available. -- [FosterSchucker]
At line 5 changed one line
An ArchivePlugin (that extends the PublishPlugin) could also be written.
Hmm, I use wget on a chron to "ping" our running wiki's. It never occured to me to actually use it for this... But... The files you get won't be usable will they? I mean I couldn't point a browser at the gotten files and read and follow links, all links would route me back to the live site. I want something more javadoc-like where all links are relative. Unzip to a directory and off you go. Also wget would pull all the live site rendered "stuff" like ~LeftMenu, the ~SearchBox, etc. I want the page content only, no edit link, no more history link, etc. So wget is similar in spirit but not quite what I'm after. --JohnV
Wget will make a clone on disk and fix up all the URLs (A,HREF,IMG tags) or it will make a site someplace else that you can host. It's one of those programs that has about 2.3 million options and they are all good. If you had enough disk you could get the entire Internet on your laptop :-). We've also used Wget to preload the cache on both webservers and reverse proxy servers. -- [FosterSchucker]
----
On a semi related note, I pull my site down to the Palm Pilot using AvantGo, so I have a read only version with me. It does not pull the attachments down. -- [FosterSchucker]
----
On another related note, if the plugin instead generated a static html version of the wiki and saved it somewhere, if you ever had wiki/java issues and had to take it down to fix it, the information would still be available via html. (hopefully served up by apache or something) For anyone like me using the wiki for something critical this would be very useful. -- [JoshM]
----
This may be a stupid idea, but couldn't you just point two copies of JSPWiki at the same content directory. Then you would just need to disable the ability to edit the page from one copy. The editable copy would be internal, and the uneditable would be external. I imagine you could just remove the 'Edit' links from the external version, and then remove whatever processes the changes when you press save.
''Yes, you could. Removing Edit.jsp should do the trick. However, I wouldn't try this with 2.0; 2.2 should survive it fine. --JanneJalkanen''
''Actually I believe some plugins like QueryPlugin among others have problems when you update/remove pages. The "read-only" copy wont understand the change has happened, so unless you don't use QueryPlugin or ReferringPagesPlugin it should work. I used a "live" Wiki, set up Tomcat security to only allow authenticated users to edit/delete content, and placed a little note on the page saying, "there are edit links, but you can't use them." -- ErikAlm''
----
!Current Status: ConceptPlugin
Version Date Modified Size Author Changes ... Change note
13 23-Jun-2006 09:19 3.841 kB Janne Jalkanen to previous
12 23-Jun-2006 02:30 4.041 kB 221.16.4.198 to previous | to last
11 26-Sep-2005 20:17 3.841 kB 156.153.255.196 to previous | to last
10 19-Aug-2005 01:47 3.46 kB Administrator to previous | to last
9 14-Apr-2005 04:03 2.854 kB 24.107.120.9 to previous | to last
8 17-Mar-2004 05:10 2.429 kB FosterSchucker to previous | to last
7 17-Mar-2004 03:39 2.03 kB JohnVolkar to previous | to last
6 16-Mar-2004 16:26 1.381 kB FosterSchucker to previous | to last
5 16-Mar-2004 03:50 0.765 kB JohnVolkar to previous | to last
4 16-Mar-2004 00:15 0.769 kB 80.65.205.208 to previous | to last
3 06-Mar-2004 20:07 0.765 kB JohnVolkar to previous | to last
2 02-Feb-2004 04:55 0.731 kB JohnVolkar to previous | to last
1 30-Jan-2004 16:03 0.261 kB JohnVolkar to last
« This page (revision-13) was last changed on 23-Jun-2006 09:19 by Janne Jalkanen