Testing the new hyperwiki browser (see
http://phpwiki.sourceforge.net/demo/sidebar/HyperWiki ) led to an xmlrpc
API problem, discussed at
http://www.jspwiki.org/Wiki.jsp?page=WikiRPCInterfaceListLinks
wiki.listLinks(pagename) return the list of linked pages.
struct { page, type, href }
type: "local" or "external"
href: not very well defined.
minimal: "APageThatDoesNotExist",the pagename, using the baseurl.
maximal:
http://server/wiki/index.php?pagename=APageThatDoesNotExist&action=edit
or APageThatDoesNotExist?action=edit (on USE_PATH_INFO)
How to return empty pages?
Different engines use different edit action
urls. JSPWiki uses
http://www.jspwiki.org/Edit.jsp?page=APageThatDoesNotExist
I don't want hyperwiki to display empty pages, and external pages
neither. Currently a ?action=edit url is returned.
To filter out those empty pages either add a new type=empty
(preferred, since this does not require any hyperwiki.jar changes) or
parse the href string for "[/=][Ee]dit" for jspwiki and phpwiki.
This is too application specific.
Note that the sf.net server is heavily overloaded and the hyperwiki java
plugin might not react and therefore lock down your browser. On other
servers it works perfectly.
--
Reini Urban
http://phpwiki.org/
|