-
Revisions count
i need the count of revisions of a page: http://wiki.developer.mindtouch.com/...ight=revisions
{{web.text(page.api, 'revisions/@count') }}
(reading the xml,. that should be: )
{{web.text(page.api, '/page/revisions/@count') }}
but i get this error:
(unable to fetch text document from uri [status: 401])
Any1 could help me? please
-
I'm still having this problem,
I know that the solution maybe could be permissions, but I dunno which folder...
Thanks
-
Permissions...?
So do I...
My server config is Win2003 server + Deki VM 8.05.2 multitenant.
Boldox, do you think it's a question of permissions? Actually I'm the wiki admin and I have all permissions (included unsafe content).
I think more of a web.text bug (see this bug), because if I try {{page.api}} I get the API corresponding page address, which I can open in my browser, and, in other pages I have scripts using Xpath successfully...
Will have to take a look at the Dream version and log file.
Please, post your config too.
-
i dont know server specs.
Deki Open Source Edition v.8.08
mmm, this could help.
{{ web.Text("http://mydekiurl/@api/deki/users/current", "/user/nick") }} returns anonymous
if i watch http://mydekiurl/@api/deki/users/current XML, <user><nick> is admin...
WTF?
-
Solution:
Role none with read permission
-
Ok, I'll try after the upgrade.
By now, with 8.05.2 no way...also with role None with read permission (actually anonymous user have Viewer permissions on my server, so...).
Thanks a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules