个人工具

“UbuntuHelp:FrozenWiki”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/FrozenWiki}}
 
{{From|https://help.ubuntu.com/community/FrozenWiki}}
 
{{Languages|UbuntuHelp:FrozenWiki}}
 
{{Languages|UbuntuHelp:FrozenWiki}}
 
 
* Created: [[Date(2005-10-06T21:00:10Z)]] by JaneWeideman
 
* Created: [[Date(2005-10-06T21:00:10Z)]] by JaneWeideman
 
* Priority: NeedsPriority
 
* Priority: NeedsPriority
第15行: 第14行:
 
[[FullSearch()]]
 
[[FullSearch()]]
 
* BoF sessions: none yet  
 
* BoF sessions: none yet  
 
 
=== Summary ===
 
=== Summary ===
 
 
For the [http://www.ubuntuusers.de German LoCoTeam] i've written a MoinMoin exporter script.
 
For the [http://www.ubuntuusers.de German LoCoTeam] i've written a MoinMoin exporter script.
 
 
You can try out the exporter function by via rsync:
 
You can try out the exporter function by via rsync:
 
<pre><nowiki>
 
<pre><nowiki>
第25行: 第21行:
 
</nowiki></pre>
 
</nowiki></pre>
 
The online wiki version (for comparison) is located at [http://wiki.ubuntuusers.de wiki.ubuntuusers.de].
 
The online wiki version (for comparison) is located at [http://wiki.ubuntuusers.de wiki.ubuntuusers.de].
 
 
[[UbuntuHelp:StephanHermann| \sh]] contacted me with the whish to extend this script for all locoteam MoinMoin installations out there.
 
[[UbuntuHelp:StephanHermann| \sh]] contacted me with the whish to extend this script for all locoteam MoinMoin installations out there.
 
 
== Implementation Problems ==
 
== Implementation Problems ==
 
Currently the exporter script requires some special macros only available on the German and Italian MoinMoin installation. This macro implements a simple thumbnailer and caching tool. It uses the common attachment system but the current exporter only converts attachments included by this tag.
 
Currently the exporter script requires some special macros only available on the German and Italian MoinMoin installation. This macro implements a simple thumbnailer and caching tool. It uses the common attachment system but the current exporter only converts attachments included by this tag.
 
 
The next problem on the list is a better searchindex. The current version implements a local searchengine using AJAX and a searchindex. But the indexer don't know stopwords and only scans german text with umlauts.
 
The next problem on the list is a better searchindex. The current version implements a local searchengine using AJAX and a searchindex. But the indexer don't know stopwords and only scans german text with umlauts.
 
 
The german locoteam also disabled Camel``Case Links and has created all System-Pages from scratch. So RecentChanges has moved To Wiki/Letzte_Änderungen and so on.
 
The german locoteam also disabled Camel``Case Links and has created all System-Pages from scratch. So RecentChanges has moved To Wiki/Letzte_Änderungen and so on.
 
 
Some pages like RecentChanges are senseless in a local version. This should get replaced by static html pages, fetching the RSS Recent Changes Feed over AJAX. Pages like FindPage should get replaced by a static html Java``Script Seach page...
 
Some pages like RecentChanges are senseless in a local version. This should get replaced by static html pages, fetching the RSS Recent Changes Feed over AJAX. Pages like FindPage should get replaced by a static html Java``Script Seach page...
 
 
Pages where the default user (user All) has no access the parser quits this with "You don't have access to this page". I'm working on parsing the ACL rules for finding out if the parser has to convert this page.
 
Pages where the default user (user All) has no access the parser quits this with "You don't have access to this page". I'm working on parsing the ACL rules for finding out if the parser has to convert this page.
 
 
== Current Implementation ==
 
== Current Implementation ==
 
* '''Parser'''
 
* '''Parser'''
a. fetches pagelist
+
*# fetches pagelist
a. scans for attachments
+
*# scans for attachments
a. parsed pages
+
*# parsed pages
a. sourround parsed pages with a template
+
*# sourround parsed pages with a template
a. converts links to local pages
+
*# converts links to local pages
a. copies linked attachments into a attachment folder
+
*# copies linked attachments into a attachment folder
a. adjust attachment links and references
+
*# adjust attachment links and references
a. adjust links to template content
+
*# adjust links to template content
 
* '''Overwrite Script'''
 
* '''Overwrite Script'''
a. scans the ''raw_content'' directory and copies all files over the parsed files. This ensures that Pages Like "FindPage" get replace by static html file containing the search functions
+
*# scans the ''raw_content'' directory and copies all files over the parsed files. This ensures that Pages Like "FindPage" get replace by static html file containing the search functions
a. copy template related images and so on into a local img folder
+
*# copy template related images and so on into a local img folder
 
+
 
== Distributing ==
 
== Distributing ==
 
A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository.
 
A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository.
 
 
If this project gets approved it would be cool to distribute the Wiki Snapshots over a official Server. All the LoCoTeams have to do is to convert there pages with the exporter script and sync them with the official server via rsync.
 
If this project gets approved it would be cool to distribute the Wiki Snapshots over a official Server. All the LoCoTeams have to do is to convert there pages with the exporter script and sync them with the official server via rsync.
 
 
== Contact ==
 
== Contact ==
 
For question and answers contact [[UbuntuHelp:ArminRonacher| me]] via email or on freenode.
 
For question and answers contact [[UbuntuHelp:ArminRonacher| me]] via email or on freenode.
 
 
=== Rationale ===
 
=== Rationale ===
 
 
=== Use cases ===
 
=== Use cases ===
 
 
=== Scope ===
 
=== Scope ===
 
 
=== Design ===
 
=== Design ===
 
 
=== Implementation ===
 
=== Implementation ===
 
 
==== Code ====
 
==== Code ====
 
 
==== Data preservation and migration ====
 
==== Data preservation and migration ====
 
 
=== Outstanding issues ===
 
=== Outstanding issues ===
 
 
=== BoF agenda and discussion ===
 
=== BoF agenda and discussion ===
 
 
 
----
 
----
 
[[category:CategoryNotDocumentation]]
 
[[category:CategoryNotDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 17:22的版本

  • Created: Date(2005-10-06T21:00:10Z) by JaneWeideman
  • Priority: NeedsPriority
  • People: NeedsLead, NeedsSecond
  • Contributors: JaneWeideman
  • Interested:
  • Status: BrainDump
  • Branch: UbuntuTrack
  • Malone bug:
  • Packages affected:
  • Depends:
  • Dependents:

FullSearch()

  • BoF sessions: none yet

Summary

For the German LoCoTeam i've written a MoinMoin exporter script. You can try out the exporter function by via rsync:

rsync -rv rsync://ubuntuusers.de/ubuntu-de-wiki destination_directory

The online wiki version (for comparison) is located at wiki.ubuntuusers.de. \sh contacted me with the whish to extend this script for all locoteam MoinMoin installations out there.

Implementation Problems

Currently the exporter script requires some special macros only available on the German and Italian MoinMoin installation. This macro implements a simple thumbnailer and caching tool. It uses the common attachment system but the current exporter only converts attachments included by this tag. The next problem on the list is a better searchindex. The current version implements a local searchengine using AJAX and a searchindex. But the indexer don't know stopwords and only scans german text with umlauts. The german locoteam also disabled Camel``Case Links and has created all System-Pages from scratch. So RecentChanges has moved To Wiki/Letzte_Änderungen and so on. Some pages like RecentChanges are senseless in a local version. This should get replaced by static html pages, fetching the RSS Recent Changes Feed over AJAX. Pages like FindPage should get replaced by a static html Java``Script Seach page... Pages where the default user (user All) has no access the parser quits this with "You don't have access to this page". I'm working on parsing the ACL rules for finding out if the parser has to convert this page.

Current Implementation

  • Parser
    1. fetches pagelist
    2. scans for attachments
    3. parsed pages
    4. sourround parsed pages with a template
    5. converts links to local pages
    6. copies linked attachments into a attachment folder
    7. adjust attachment links and references
    8. adjust links to template content
  • Overwrite Script
    1. scans the raw_content directory and copies all files over the parsed files. This ensures that Pages Like "FindPage" get replace by static html file containing the search functions
    2. copy template related images and so on into a local img folder

Distributing

A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository. If this project gets approved it would be cool to distribute the Wiki Snapshots over a official Server. All the LoCoTeams have to do is to convert there pages with the exporter script and sync them with the official server via rsync.

Contact

For question and answers contact me via email or on freenode.

Rationale

Use cases

Scope

Design

Implementation

Code

Data preservation and migration

Outstanding issues

BoF agenda and discussion