Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-194) was last changed on 29-Nov-2007 14:37 by JohnGill  

This page was created on 27-Jan-2002 12:58 by 212.90.75.172

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 326 changed one line
And, I think we need something like __array listLinks( string pageName )__ so that we could do things like "please print me this page and all pages that it links to".
''(See [WikiRPCInterfaceListLinks])''
At line 334 changed one line
listLinks() would be very handy, especially since different Wiki technologies use different syntaxes for links.
...
At line 336 changed one line
I've been thinking about how to handle the "this page and all pages that it links to" issue. I was thinking of a web interface where you pick a starting page, and then it displays all the linked-to pages, user selects some of them, page shows their children, and so on, gradually building up a set of pages until the user is done, and the page results from that. Certainly there are places in Ward's Wiki where i wish i could do that. This may be more complicated to use than it's worth, though.
I will say it's very interesting to see the names of all the pages in one list; I found myself thinking, "What's ''that'' topic? What possible chain of pages could have led to it?"
At line 338 removed 5 lines
But i will say it's very interesting to see the names of all the pages in one list; I found myself thinking, "What's ''that'' topic? What possible chain of pages could have led to it?"
[JanneJalkanen]: ''listLinks()'' is now a part of API, as of 1.6.12. I'm saving
putPage() for 1.7.x branch. :-)
At line 353 removed 24 lines
[MahlenMorris]: On the listLinks() method:
*I think differentiating between a generic external link URL and a image link would be good, since I may not be aware exactly what types of links you consider allowable images. Then I could possibly pull the inlined image down for offline inclusion as well. So maybe an additional type for images that this Wiki allows to be inlined.
*If the intent of this API is in some way to make it useful even beyond JSPWiki (which I think would be a very good intent), then one thing it would be useful to have here is some way of finding this link in the processed HTML page. Currently for my printing page, for example, I have some very JSPWiki specific code that looks for links and, if this a link is for a page that is in the aggregated page, i replace the link with a reference to an anchor within the aggregate page. Thus, if you had both the WikiUsers and JanneJalkanen page in the aggregate, the link to JanneJalkanen in the WikiUsers page now moves you to the JanneJalkanen part of the aggregate, rather than the JanneJalkanen page on the web.
So some way of finding the link in a more generic way would be good. I'm thinking that just providing the HREF string that I should expect to see from a getPageHTML() call would do the trick; then I could search the HTML for the link, and replace it with my link. So for example, the record for [this link|MahlenMorris] would be {{MahlenMorris, 0, Wiki.jsp?page=MahlenMorris}}.
*If a page is linked to twice in a page, is it listed twice in the returned array? I'm not sure if I want it to be or not, I just want the spec to define this behavior. Listing it twice is good, it lets you know precisely what links are available. The caller can always fold duplicates together on it's own.
*I'm getting the nagging feeling in the back of my head that I'd also want to know the Wiki Server URL that this goes to (if it's a Wiki page). Yes, I do, because in the offline version the non-local pages need to point back the real Wiki server, and the href above doesn't contain that. But I think that info more properly belongs in a getSystemInfo() call of some sort.
*I think a string might be a better type indicator than an int. Less interpretation.
[JanneJalkanen]: Good points. I'll make a note of them and mull this one over
a bit more.
__25-Feb-2002:__ The current (26022002) [CVS version|JSPWikiDownload] has now these added. The "type" parameter is now a string - returning either "local" or "external". There is also a "href" -parameter, but be warned that it's not working as expected in case of pages that don't exist.
Local references (using [footnotes|TextFormattingRules]) should work okay, but
you might have to edit the HTML to make sure they're unique. Hm. Should these be listed too?
----
Version Date Modified Size Author Changes ... Change note
194 29-Nov-2007 14:37 5.787 kB JohnGill to previous Someone replaced the page content with "wo"
193 28-Nov-2007 18:49 0.004 kB 60.190.240.76 to previous | to last
192 12-Oct-2007 06:43 5.787 kB JanneJalkanen to previous | to last
191 12-Oct-2007 05:32 5.797 kB 203.69.39.251 to previous | to last
190 06-Oct-2007 11:28 5.787 kB 141.7.56.2 to previous | to last restore
189 06-Oct-2007 03:10 0.007 kB 217.16.16.218 to previous | to last t922t
188 26-Sep-2007 23:47 5.787 kB JanneJalkanen to previous | to last
187 26-Sep-2007 02:58 5.796 kB SitriCelra to previous | to last
186 21-Jul-2007 03:09 5.787 kB MurrayAltheim to previous | to last removed noise
185 20-Jul-2007 23:57 5.864 kB 1001������ to previous | to last Comment by 1001������
184 20-Jul-2007 23:57 0.008 kB 60.191.36.91 to previous | to last Comment by 1001������
183 21-Jan-2007 17:15 5.815 kB 62.99.252.218 to previous | to last old phpwiki version
182 11-Jan-2007 09:13 5.801 kB GusHome to previous | to last
181 11-Jan-2007 09:10 5.894 kB GusHome to previous | to last Comment by GusHome
« This page (revision-194) was last changed on 29-Nov-2007 14:37 by JohnGill