One side effect: offline browsers like BackStreet Browser seems to be unable to parse the URL properly :-)
Like this post? Please help me pay for my Internet access.
Links to this post
Labels: PmWiki, Websites
No comment - Post a comment (nofollow disabled)
No comment - Post a comment (nofollow disabled)
Now when the user is not authenticated (not logged in), he will see a "login" tab; if he is logged in, he will see "logout".
(:if authid:)
* %item rel=nofollow class=logout accesskey='$[ak_logout]'% [[{*$FullName}?action=logout | $[logout] ]]
(:ifend:)
(:if ! authid:)
* %item rel=nofollow class=login accesskey='$[ak_login]'% [[{*$FullName}?action=login | $[login] ]]
(:ifend:)
* %item class=browse accesskey='$[ak_view]'%[[{*$FullName} | $[article] ]]
* %item class=discuss accesskey=$[ak_edit]%[[[[Comments.{$Group}-{$Name}?action=view | $[discussion] ]]
* %item rel=nofollow class=edit accesskey='$[ak_edit]'%[[{*$FullName}?action=edit | $[edit] ]]
* %item rel=nofollow class=diff accesskey='$[ak_history]'%[[{*$FullName}?action=diff | $[history] ]]
(:if auth upload:)
* %item rel=nofollow class=upload accesskey='$[ak_attach]'%[[{*$FullName}?action=upload | $[attachments] ]]
(:if:)
* %item rel=nofollow class=print accesskey='$[ak_print]'%[[{*$FullName}?action=print | $[print] ]]
* %item class=back accesskey=$[ak_back]%[[@3@{$Name}@3@}?action=view | $[article] ]]
* %item class=browse accesskey=$[ak_view]%[[{$FullName} | $[discussion] ]]
* %item rel=nofollow class=edit accesskey='$[ak_edit]'%[[{*$FullName}?action=edit | $[edit] ]]
* %item rel=nofollow class=diff accesskey='$[ak_history]'%[[{*$FullName}?action=diff | $[history] ]]
(:if auth upload:)
* %item rel=nofollow class=upload accesskey='$[ak_attach]'%[[{*$FullName}?action=upload | $[attachments] ]]
(:if:)
* %item rel=nofollow class=print accesskey='$[ak_print]'%[[{*$FullName}?action=print | $[print] ]]
Markup("@3@", "inline", "/@3@(.*?)@3@/e", 'str_replace("-",".","$1")');
1 comments - Post a comment (nofollow disabled)
No comment - Post a comment (nofollow disabled)
# importation
# load script
include_once('cookbook/import.php');
# check for new files at least once per 3 minutes (3x60)
$ImportFreq = 180;
import os, re, urllib2
for fname in os.listdir(os.getcwd()):
f = open(fname)
t = f.read()
l = re.search("text=([^$]*?)time=", t)
try:
wikitext = urllib2.unquote(l.group(1))
except AttributeError:
continue
f2 = open(fname+".txt", 'w')
f2.write(wikitext)
f.close()
f2.close()
import os
for fname in os.listdir(os.getcwd()):
os.rename(fname, fname+".txt")
import os, reI tried firing the script at 110mb.com only to realize that I receive "Connection refused" errors. Bummer.
from urllib2 import *
from ClientForm import ParseResponse
dirlist = os.listdir("wiki.d")
for fname in dirlist:
f = open("wiki.d/" + fname)
t = f.read()
l = re.search("text=([^$]*?)time=", t)
wikitext = unquote(l.group(1))
print wikitext
url = "http://path/to/my/wiki/" + fname + "?action=edit"
response = urlopen(url)
forms = ParseResponse(response)
form = forms[1]
form["text"] = wikitext
urlopen(form.click())
Hi,
Thanks for the welcome, and thanks for the great idea to have a site like this. I have already downloaded a lot of documents and some of them had been helpful to me as a professional teacher :-) Why reinvent the wheel (re-create the document) if you have access to an already-made one which you can just modify ;-)
I have uploaded just one file so far, but I'll upload more maybe next week. I'm just removing personal info from the documents.
I may also blog about this great site one of these days.
Fellow docster,
Vincent Isles
http://islestech.blogspot.com/
As outlined somewhere else, I met the Internet back in 1998 (and next year will be my 10th year online), although I was only active (in the usual sense of the word) online starting in 2001.
My original site was hosted at TopCities.com. I never had a serious problem with that site. With up to 150 MB of storage, their free service was enough for my needs. But there came a time when I had so many things to deal with that I can't manage an offline copy of my site.
This was the time when I started looking for possible wiki-based free personal web site hosting. My first choice is a site using MediaWiki software, since this is the one running behind Wikipedia and other Wikimedia projects, and I am involved with this projects. However I was not able to locate any, and I've read somewhere that there is this PBWiki.com site which is just the thing I was looking for, except for the use of MediaWiki.
In short, I am just using the advantage of a wiki-based system: fast editing, and no-hassle uploading. They now offer a hassle-free system of backing up your files.
No comment - Post a comment (nofollow disabled)
Hi all,
I know this is quite off-tangent to us here, but then this is where I can find people who know MediaWiki wikitext :)
Along with some friends who are studying law, I've started with the LEX LIBERA project, which aims to create a free database of Philippine laws and court decisions, including articles on specific laws targeted for the ordinary person without legal training (Law for the People) and case digests targeted for the hurried law student (Case Digests Project).
The content-management system is MediaWiki, so if you are comfortable editing Wikipedia, you would also be fine with Lex Libera. The license of the product is not yet decided by the community, but it will be a copyleft license, allowing noncommercial reuse and redistribution.
FYI, there are two commercial CD compilations of laws and court decisions in the Philippines: Lex Libris from CDAsia and Phil Juris from Gigabytes Research Systems, Inc. Both of these CD collections are quite expensive, as any law student would tell you, despite the fact that what they contain are actually unprotected by copyright according to P.D. 49.
Philippine laws are available from http://www.congress.gov.ph and court decisions are available from http://www.supremecourt.gov.ph. The project will simply collect these laws and court decisions and link the entries conceptually.
Please do not reply to this note here as this is not related to Wikipedia, and I had sent invitations to other communities. Instead, post your comments in the project's Forum page.
Respectfully yours,
Bentong Isles
LEX LIBERA Project
|
||||
|
||||
![]() Education in the Philippines Forum |
||||
|
Pls. leave a message:
|
||||