Printer Friendly Version Attach Files
tsangk |
05 Jun 2010 03:39. Edited 5 times. (Edit, Permalink) Changelog:
Please note that this is an unstable release. Once most of the bugs are fixed, a stable release will be released as v0.4.1. Screenshots:Download: Zip Included page "inc:signature" does not exist (create it now) |
leiger |
05 Jun 2010 04:35. Edited 2 times. (Edit, Permalink) In that case, I don't understand the reason for the "Publish" button? I thought that button was meant to generate the preview. Included page "inc:signature" does not exist (create it now) |
tsangk |
05 Jun 2010 04:44. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
leiger |
10 Jul 2010 04:24. Edited 1 times. (Edit, Permalink) I don't want to copy how you do it so I haven't even looked… (I like tackling programs on my own… gives a greater sense of achievement I guess) but I'm thinking that I basically need to use a dictionary/hashmap. If I find "**" then I search for that String in the hashmap and it'll return "<b>" instead. Problem is I'm not too good with regular expressions, so detecting whether it's a start or end tag will be my biggest problem :) Included page "inc:signature" does not exist (create it now) |
leiger |
10 Jul 2010 04:27. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
tsangk |
10 Jul 2010 05:58. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
leiger |
10 Jul 2010 10:18. Edited 0 times. (Edit, Permalink) That reminds me, I need to back up version 2 onto my portable hard drive. All of the version 1 releases are already on there… Included page "inc:signature" does not exist (create it now) |
tsangk |
12 Oct 2010 12:58. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
leiger |
12 Oct 2010 13:12. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
tsangk |
15 Oct 2010 10:36. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
leiger |
15 Oct 2010 13:46. Edited 0 times. (Edit, Permalink)
You just did… ;-)
Not sure what you're asking here. What modules? The pages.save_one method lets you give a site, page name, title, source code, tags & parent. Then it saves the page using that information… but you already knew that. Included page "inc:signature" does not exist (create it now) |
tsangk |
15 Oct 2010 13:58. Edited 0 times. (Edit, Permalink) Included page "inc:signature" does not exist (create it now) |
leiger |
15 Oct 2010 23:59. Edited 0 times. (Edit, Permalink) Basically, what it does is to save the page, then use the html (part of the page meta data) to show the preview. That's why it currently needs an Internet connection to work. Only reason I got preview working if the user doesn't have an API key, is because I'm using STEBot instead in that situation. Wanted to make sure everyone could use preview - API key or not. Included page "inc:signature" does not exist (create it now) |
leiger |
16 Oct 2010 00:06. Edited 0 times. (Edit, Permalink) If you have a look at http://cyclods.wikidot.com/, you will see a 'Forum' and 'Chatroom' section on the left side of the page. Each has a ListPages module underneath it. But this is the HTML that the Wikidot API returned for that part of the page: <h3 id="toc0"><span>Forum</span></h3> <span style="font-size:80%;"></span> <p><a href="/forum:recent-posts">» Read more</a></p> <h3 id="toc1"><span>Chatroom</span></h3> <span style="font-size:80%;"></span> <p><a href="/chatroom:public">» Read more</a></p> Included page "inc:signature" does not exist (create it now) |