Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SADE
SADE
Commits
a86c1a1f
Commit
a86c1a1f
authored
Jul 12, 2017
by
Mathias Goebel
Browse files
fixing wiki module
parent
c23b9bc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
expath-pkg.xml
View file @
a86c1a1f
<?xml version="1.0" encoding="UTF-8"?>
<package
xmlns=
"http://expath.org/ns/pkg"
name=
"http://textgrid.de/ns/SADE"
abbrev=
"SADE"
version=
"2.3.
1
"
spec=
"1.0"
>
<package
xmlns=
"http://expath.org/ns/pkg"
name=
"http://textgrid.de/ns/SADE"
abbrev=
"SADE"
version=
"2.3.
2
"
spec=
"1.0"
>
<title>
Scalable Architecture for Digital Editions powered by TextGrid
</title>
<dependency
package=
"http://exist-db.org/apps/markdown"
/>
<dependency
package=
"http://exist-db.org/apps/monex"
/>
...
...
modules/wiki/wiki.xqm
View file @
a86c1a1f
...
...
@@ -29,7 +29,7 @@ let $doc :=
$result := if( $export//DIV ) then local:HTML2html($export) else $export,
$result := <div>{local:dokuwikiparser( $result/*[not(@id='dw__toc')] )}</div>,
$login := xmldb:login( '/sade-projects/textgrid/data/xml/doku/', config:get('sade.user') , config:get("sade.password")),
$store := xmldb:store( '/sade-projects/textgrid/data/xml/doku/', $id || '.rev' || $revisionInWiki || '.xml' , $result )
$store := xmldb:store( '/sade-projects/textgrid/data/xml/doku/', $id || '.rev' || $revisionInWiki || '.xml' , $result )
,
$imageReload := local:dokuwikiImageReload($id, $model)
return
$result
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment