Aller au contenu

Photo

beta nwnlexicon


  • Veuillez vous connecter pour répondre
10 réponses à ce sujet

#1
acomputerdood

acomputerdood
  • Members
  • 219 messages
i'm not sure if people are ignoring the lexicon sticky link at the top of the forums or if nobody has any input.  either way, the site owner installed a wiki for me and i populated it with all the old lexicon data.  in about a week, if there are no complaints, we'll move it from the beta to official.

http://beta.nwnlexicon.com 

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
question: Will It break all the links I have that point people to help in the lexicon.

#3
acomputerdood

acomputerdood
  • Members
  • 219 messages

Lightfoot8 wrote...

question: Will It break all the links I have that point people to help in the lexicon.


awwww crapola.

#4
acomputerdood

acomputerdood
  • Members
  • 219 messages
well, i can use a rewrite module to translate the old link's request into a search page in the wiki. for example:

clicking on the link "http://www.nwnlexico...randomdoor.html" would take you to the wiki page "http://beta.nwnlexic...closerandomdoor". the desired page would bet result #1 in the search results.

i think there's a way to make the wiki take you directly to the first page in the results, but i can't figure it out.

that would be simple to implement, but if that's not acceptable, i can create a wiki page for "function.animactioncloserandomdoor.html" that will redirect you the appropriate page as well. will be a little bit of work, but i'm pretty sure i can do it.


are either of these solutions acceptable? it never occurred to me that this would be a problem, and i agree that it's pretty much a showstopper. the first solution is simple but it's not quite ideal. the second one is more seemless and i'm pretty sure it will work.

or there's always the option of scrapping the wiki effort and sticking with static html pages. though we'd be back to square one with not being able to update them if there's no team willing to do it (for ever and ever no less).

Modifié par acomputerdood, 21 août 2012 - 12:03 .


#5
acomputerdood

acomputerdood
  • Members
  • 219 messages
was just testing the 2nd option, and the redirect pages work quite well for links to functions, but not so much for any other page in the lexicon.

and it looks like the extra redirect pages are muddling up the search results. i think our options are:

- stick with old links taking the user to a search page and trusting they'll click on the first result
- stick with old links taking the user to a search page and hoping we can find a way to automatically take them to the first result
- abandon the wiki

#6
henesua

henesua
  • Members
  • 3 883 messages
this wiki is going to be great

thanks

I say lets transition over

Modifié par henesua, 21 août 2012 - 01:31 .


#7
acomputerdood

acomputerdood
  • Members
  • 219 messages

acomputerdood wrote...

was just testing the 2nd option, and the redirect pages work quite well for links to functions, but not so much for any other page in the lexicon.

and it looks like the extra redirect pages are muddling up the search results. i think our options are:


scratch all that.  once i got rolling on how to create the redirection pages, it went pretty smoothly.

the new lexicon wiki should be able to accept the old staticly linked html pages, rewrite them into the wiki request, and then redirect itself to the proper wiki article.

i'd say 99% of the pages will be working correctly.  for completeness's sake, i'll likely go through and hand check the more troublesome ones.

and it turns out that properly formatted redirection pages won't show up in the search, so there's no worry about getting funny results.

unfortunately, i can't truly demonstrate this redirection process Lightfoot8, you'll just have to trust me that it will be seemless :D

it would go something like this, though:

OLD LINK: http://www.nwnlexico...tionattack.html
rewritten to: http://beta.nwnlexic...tionattack.html

obviously there was a bit of hand waving because i don't have access to "www.nwnlexicon.com" to properly configure the legacy rewrites over to "beta.nwnlexicon.com", but once the transition is made then i can fix that up.

Modifié par acomputerdood, 21 août 2012 - 02:57 .


#8
Carcerian

Carcerian
  • Members
  • 1 108 messages
Awesome :)

#9
acomputerdood

acomputerdood
  • Members
  • 219 messages
just a quick update. the best i could do to demonstrate would be to take the old static address:

http://www.nwnlexico...tionattack.html

and then manually change it to:

http:/beta.nwnlexicon.com/compiled/function.actionattack.html

then the rewrite rule will get you to the wiki.

#10
acomputerdood

acomputerdood
  • Members
  • 219 messages
alert readers will notice that the official lexicon has been updated to the 1.69 wiki. enjoy!

Squatting Monk did an excellent job creating some "<nwscript>" tags you can use on the wiki. they're like the "code" blocks, but they do automatic syntax highlighting and link relevant functions and keywords to their appropriate pages.

i'll likely be following the sticky thread moreso than this one from now on.

#11
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
I'm liking it a lot.