Thomas Bohl schrieb:> I have the impression that since some time (since Vers. 5.0?) N[expr] does&...
By peter_pein
Hi, I have a routine which open the file handle for me. It works fine as long as no one touches the ...
By anonymous
Hello Bruce,Thanks a lot for your explanation! I got it.I should have read the known BUGs before:)Ma...
By wyel_en
Dear members of www-html,I may have to re-introduce myself here before I send the followingposting t...
By oskarwelzl
What does everyone think of this?http://www.macromedia.com/devnet/mx...ls_proxy03.htmlScroll down to...
By brandon_krakowsky_t6q6iarrihmxkhikfyz7poftlvw, 4 Comments
hi allI've had a search thro the mailing list, but can't find out how to set up zwiki so t...
By biggerboat, 1 Comments
hi I try to map a region in the page file to Iter process comunicate in kernel mode. with no further...
By anonymous, 5 Comments
MessageFrom: "Simon Michael" <simon (AT) joyful (DOT) com>To: zope (AT) zope (DOT) orgSubject:...
By biggerboat, 1 Comments
Are there any out there? I've been hunting places like Google Video and dl'ing mpeg4'...
By dawson9b7b, 1 Comments
I've got a Zwiki instance that works just fine. If I visit it at
I get a nice
feed of all the recent changes.
I'm not familiar with ?action=rss_rc at all, it sounds like a local
customization.
But I don't want to reach it by URL, I want to reach it
programmatically. How do I do that?
"return self.wiki.RecentChanges()" gives an AttributeError.
If you want to know why, post the traceback and I'll say more.
Generally, to get a zwiki page to render itself programmatically, give
it a REQUEST. Eg self.wiki.RecentChanges(REQUEST=REQUEST). In certain
contexts you might still have skin trouble, in which case try
self.wiki.RecentChanges(REQUEST=REQUEST,bare=1) to render without the skin.
Current Zwiki has changes_rss and pages_rss methods built in, eg
wiki.AnyPage.pages_rss().
Cheers
-Simon
Zope maillist - Zope (AT) zope (DOT) org
** No cross posts or HTML encoding! **
(Related lists -
)
simonmichael | Sun, 04 May 2008 12:49:00 GMT |
I get a nice
feed of all the recent changes.
I'm not familiar with ?action=rss_rc at all, it sounds like a local
customization.
I'm sorry. That was for MoinMoin which we had before but upgraded to
Zwiki. My script was assuming MoinMoin, hence the action=rss_rc stuff.
Current Zwiki has changes_rss and pages_rss methods built in, eg
wiki.AnyPage.pages_rss().
If I do :
"return ()" I seem to get what I want,
I think. The big problem with this is that it seems to be in reverse
order with the first wiki page first. I'd like it the other way
around.
What I want is basically
but in RSS or RDF
format so that I can use them somewhere else.
peterbengtsson | Sun, 04 May 2008 12:50:00 GMT |
The big problem with this is that it seems to be in reverse
order with the first wiki page first. I'd like it the other way
around.
Have a look at the changes_rss method in RSS.py (in 0.46). It calls
pages(), which is essentially a catalog query restricted to this folder.
You could move this method back to a pythonscript and tweak that query,
or do it in dtml.
Zope maillist - Zope (AT) zope (DOT) org
** No cross posts or HTML encoding! **
(Related lists -
)
simonmichael | Sun, 04 May 2008 12:51:00 GMT |