Tags:
create new tag
, view all tags
Author the company web site content in Wiki style. This is the realm of Manila. (Topic started in OfflineWiki)

  • How:
    • It is necessary to support the edit - approve cycle.
    • Define what gets published, depending on the TWikiCategoryTable.

Related: OfflineWiki, ReadOnlyOfflineWiki, ReadWriteOfflineWiki, WikiClusters, NonWebAccessToWiki, TWikiWithCVS, TWikiXML.

-- PeterThoeny - 23 May 2000

I've been using TWiKi as a personal means of keeping track of useful information for some months now, and most of my problems relating to it are this:

  • Twiki is very good for ad hoc modifications and growth to a website. Since I've got it installed on my laptop, this is great, and extremely useful.
  • However, I want to share this information with people at work, and even then not all pages, not all the content of every page, and only some users to some pages.
  • My laptop's IP address changes every day, due to using DHCP so despite the fact I can acces it via http://localhost/... I can't turn around and say "Hey everyone you can look here".

I do have a significant amount of web space available on our local intranet however, but no cgi access. As a result, I've created a temporary hack that does this:

  • I've moved all the Topic,v files and lock files into and RCS subdirectory - this simplifies (and IMO tidies) walking through the text files looking for which topics exist, and doesn't break anything since anything RCS related is done via the rcs commands which expect an RCS subdirectory anyway.
  • Created a new template called publish.tmpl
  • Created a new script called publish, and modified wiki.pm's formatting rules such that links that'd look like This? don't have the trailing question mark.
  • Modified wikicfg.pm to include details as to where to publish things (things like publish host, doc root (eg ~michael/pages)) and stuff like where "published" pages should be dumped.
  • The publish template includes a link to a "Publish this WHOLE web" option, which goes through the entire WiKi grabbing the published version and dumping it in the desired location.
  • Created a highly specialised <publish> tag which I look for in pages to look for content that I don't want published on pages. (eg the internal public version doesn't contain some sensitive notes my own version does)
  • Have a list of pages not to publish. (This is linked to from the home page, and this link is hidden inside a no-publish region.

It's still some way off being actually useful, since a publish on a per page option would be useful, and that would be the level of granularity for editorial override on publishing IMO.

I'd also like to have an offline wiki ala CVS, but I'm creating this on an "as I need it" basis, not on an "I like the idea of this" basis. When the code is slightly more stable, I may be able to bring my code branch back into the fold.

Oh, and on my previews, I have a "save changes" button at the top of the preview as well as at the bottom - it rather speeds up adhoc chnages smile

-- TWikiGuest - 11 Oct 2000

I'd be really interested in using something similar to this. I'm also interested in having a "publish this page" option where I can save single files to a different web server and continuing editing others. I thought I saw something similar to this that had already been implemented, but I can't find a reference to it now.

At this point I'm working on creating lecture notes in a Twiki and then would like to be able to "publish" my final slides/overheads/handouts to my course web site. Once I get that figured out, I want to look into publishing into an XML-happy format that others can pull from if they want to. I'm more than a long way off from that though.

-- EmmaJane - 23 Apr 2002

I've just finished writing a little "publish this page" script. I don't have a publishing template yet, but I thought others might be interested in seeing what I have so far. All it does, basically, is uploads the .txt file for your current page to a remote server, prints out a message page saying how things went and then gives you a link back to the page you were just on.

You can download the perl script from: http://xtrinsic.com/scripting/pub_twiki.html

Let me know what you think. smile

-- EmmaJane - 29 Apr 2002

A quick comment on your form to paste into pages. If you create a TWikiVariables with the form as the value you can just put it in with something like %PUBFORM%.

-- ChrisRiley - 30 Apr 2002

Publishing specific versions of the page is one requirement, even as the page itself is improved in the meantime. Though this is taken care of by the script-based approach here, I think, a better managed approach is useful.

My idea is to define a Topic called TopicsToPublish in each web specifying a table of what pages need to be published, and the new URLs for these pages. For example:

Twiki Topic Published URL Version
WebsitePublishing /notes/publishing latest
BeijingReleaseFeatures /features 1.8

Some conventions may have to be required to specify all the pages, or all but specified pages etc. Perl regex search and replace may help us here.

The updated script can then be used for complete site. It can visit each web and pickup these pages and construct the site. (Alternately, some people may want to use a proxy.)

Has anyone thought of integrating this concept with Apache Jetspeed portal?

- VinodKulkarni - 18 Jul 2002

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2003-09-06 - MichaelSparks
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.