6 Replies Latest reply: Jul 17, 2008 11:02 AM by jeffkwong
Ruud op den Kelder Level 1 Level 1 (0 points)
I need to know the location of my wiki's rss xml file on the server, where can I find it?
  • Ruud op den Kelder Level 1 Level 1 (0 points)
    the rss is generated from the wiki search using Articles.js, right?
    is there any way I can retrieve an RSS xml file from this?
    Ive created my own webbased RSS reader with which I want to read my wiki's rss.
    Can anybody help me?
  • Doug Whitmore Level 2 Level 2 (235 points)
    There is no rss xml file that is stored on the server for the wiki. The wiki generates the rss feed when you ask for it. The way to get an rss feed for any page listing is to add .rss to the page name requested.
    So, if you want an rss feed of a particular search:

    So, you have your web based rss reader do a GET on that url to get the rss data. You can do the same thing with atom by exchanging .rss for .atom
  • theRocket Level 1 Level 1 (15 points)
    I would be grateful if you expounded on that "generates" statement. I realize there are XSL transforms going on, and one can override these by duplicating them from /usr/share/wikid/apple_templates/ into /Library/.../WikiServer/Themes/. But what is being transformed?

    Best I can tell, Apple's customized python code is building XML on the fly and handing it off the the XSL files. I looked through the /usr/share/wikid/lib/python directory, and there is so much going on there: zanshin, twisted, xmlrpc, sqlite3. Hard to reconstruct how all this works.
  • theRocket Level 1 Level 1 (15 points)
    After another day of looking & experimenting, it is apparent the XML is generated by the classes in apple_wlt (subdirectory of aforementioned path). This doesn't mean I understand it enough to customize it, however.
  • Doug Whitmore Level 2 Level 2 (235 points)
    The rss and atom responses don't go through the xslt. In generating the rss and atom, there is no intermediate xml format. It gets rendered straight to the format from memory.
    Rather than try and answer this question more, I'd rather ask: What is it you are really trying to do? Asking the right question will yield much better answers.
  • jeffkwong Level 1 Level 1 (0 points)
    I'm in a similar situation. In the user blog pages, I want to pull additional information about the user and display it on the page along with the blog posts. I'd like to make a query against some other MySQL tables I've created and add the results to the generated XML. Can you tell me where I should be looking?