Changes

Jump to navigation Jump to search

User talk:Graham grove/Archive 1

2,205 bytes added, 19:28, 28 July 2008
Uploading Bible
: Hi Benny. Unfortunately I'm no expert on loading the Bible onto a wiki. The way I've done it in the past is by downloading the Bible as a text file and then writing a program in Visual Basic to separate each verse and create a large .xml file that can then be imported into the wiki using the "Import pages" function. It's probably not the best way. The user Aquitiki has done it a slightly different and more efficient way. But which-ever way you want to do it it is going to involve being able to use a programming language. Are you familiar with any language? --[[User:Graham grove|Graham grove]] 13:09, 25 July 2008 (PDT)
:: I'm pretty comfortable with php language, and right now i'm playing with wikipedia robot using perl language. I'll try the xml method. So you didn't use a robot? On second thought, I think using export page is easier than operating a robot, could you give me a tutorial on how did you separate each verse etc? :: Also, I noticed an [edit] link on each verse, and thought that's funny, because it implies that any user ''could change'' scripture. I'd suggest a [discuss] link on each instead. Discuss this verse makes more sense in a bible wiki than Edit this verse. [[User:Bennylin|Bennylin]] 22:55, 25 July 2008 (PDT)
Also, ::: Sure. I noticed an [edit] link on each verse, and thought that's funnyd be happy to help out if I can. Mind you, because the way I did it implies that any user isn't perfect and it is quite time consuming. Regarding the "edit" bit - we'could changeve had a discussion about that recently and a decision has been made to get rid of it for the very reason you've suggested.::: The way I did it in short was* Downloaded the Bible in a simple text file - I' scripturem not sure where the best place for a public domain . txt Bible in Indonesian is - but I'd suggest m sure you'll have no trouble finding one* Write a program in what-ever language you're most comfortable with (for me, Visual Basic) that outputs some text for each verse - something that looks like this: <pre><nowiki><mediawiki> <page> <title>John 1:1</title> <id>99303</id> <revision> <id>342623</id> <timestamp>2008-07-25T22:50:43Z</timestamp> <contributor> <username>Graham or Benny or whoever</username> </contributor> <text xml:space="preserve">{{verse|John|1|1}}==Commentary== ==Links==  </revision> </page> <page> <title>Template:John 1:1</title> <id>62502</id> <revision> <id>146326</id> <timestamp>2007-08-29T14:22:13Z</timestamp> <contributor> <ip>Graham</ip> </contributor> <text xml:space="preserve">&lt;small&gt;[discuss[John 1:1|1]] link on &lt;/small&gt; In the beginning was the Word, and the Word was with God, and the Word was God.</text> </revision> </page>  Etc for each instead. Discuss this verse makes more sense in  </mediawiki>* You also need to make a bible template called: "Template:Verse" - see [[Template:Web verse]] for how it's done on WikiChristian* Then all you need to do is import the file (or files if you do it bit by bit) into your wiki than Edit this verseand you'll have the Bible on it ::: It's not a perfect system and I suggest you put install mediawiki on your home computer and try to import it into that first to make sure it all works. ::: [[User:Bennylin|BennylinAquitiki]] 22has a slightly better system and makes use of robots. You may want to talk to him first before deciding to do it the way I've suggested. But if you decide to do it the way I've suggested I'm happy to give you some more help and share Visual Basic code with you if you think it might help:::55, 25 July 2008 (PDT)Cheers. --~~~~
administrator, Bureaucrats, bureaucrats, checkuser, editor, emailconfirmed, move, Administrators
122,009
edits

Navigation menu