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 38 added one line
*** [MahlenMorris]: 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.
At line 40 added 3 lines
*** [MahlenMorris]: 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]: If a page is linked to twice in a page, is it listed twice in the returned array?
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