Question: ShireFox

...where great ideas evolve
Post Reply
User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Question: ShireFox

Post by Kaiseress Semisa I »

What would you like to see ShireFox do, regardless of how goofy or strange it is?
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

User avatar
Greg Dean
Posts: 148
Joined: Fri Dec 16, 2005 2:26 pm
Location: Florencia, Barony of The Holy Lands of Shireroth, Duchy of Naudia'Diva
Contact:

Post by Greg Dean »

One thing you might want to do is add a link to this address:

http://shireroth.kuroshiro.net/forum2/s ... d=newposts

Makes it so you only see new posts since your last visit. I use it all the time.

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

AND THERE'S NO AMPERSAND IN THAT URL.

One of XML's biggest issues is parsing ampersands, because the ampersand is used to denote special characters (a la — ). And, frustratingly, the special character for an ampersand is & , which is SELF-REFERENCING so you end up with & or worse in order for it to parse correctly.

Wish I could figure a workaround.

But that link will go into the "Forum Actions" menu next update.
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

osmose1000
Posts: 1462
Joined: Mon Sep 27, 2004 3:35 pm
Location: My Airship
Contact:

Post by osmose1000 »

Actually, if I understand the situation right, you only need one & becuase you don't need it to parse the & as part of the string when you're using it to denote a special character, even if it's itself.

Hopefully I can explain it a bit better. You see, when the XML parser comes to &, it starts reading for special character codes. Now, if you just leave the & it causes an error because there wouldn't be any special code in your string, just the rest of the URL, right?

Well, by using &, you are using the & for the function that caused the error in the first place - denoting a special character. The amp; defines it as the character "&", which resolves the entire problem because you are, in fact, using & as a special character. Once it gets past "&" it continues on - it knows that it just put out the character "&" and doesn't go back to reparse it as a character.

So I don't see what the big problem is.
CENSOR'D

User avatar
Bill3000
Posts: 1684
Joined: Fri Apr 13, 2001 5:13 pm
Location: Apoltopoli, Audêntija Grakent, Kildare, Šireþe
Contact:

Post by Bill3000 »

ASC conversion, please.

Also, change the name of "The Grand Commonwealth" to "The Great Satan".

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

That may be it's intention, Moose, but that's not how it works.
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

Shyriath
Posts: 1790
Joined: Fri Feb 28, 2003 9:41 am
Location: Sunderspray, Shireroth
Contact:

Post by Shyriath »

ASC conversion, please.
Seconded... and maybe also a Shirerithian calendar date, if that could be managed/fit in.
Image

User avatar
Delphi
Posts: 541
Joined: Wed Apr 27, 2005 4:40 pm
Contact:

Post by Delphi »

ASC?
Former Dinarch of Antica
Former Citizen of Shireroth
Former Scourge of Micras

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

Ab Sectora Conditia. "From the founding of the Sector." Counts one day as a year, since the beginning of the Apollo Sector, as ordained by forces before my time.

For instance, I started my reign on November 21, 2005, which equates to 2299 ASC.
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

osmose1000
Posts: 1462
Joined: Mon Sep 27, 2004 3:35 pm
Location: My Airship
Contact:

Post by osmose1000 »

After more research, it seems that the root of this dillemma is that the string is passing through more than one &-sensitive layer of parsing. Try using <xml:amp/> and see what happens.
CENSOR'D

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

...but will that be recognized by the JavaScript that actually calls the URL?
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

Delphi: PS: if you had made that custom tag (the "mwiki" one) like I had asked you to, I could have just provided you a link. :D
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

User avatar
Delphi
Posts: 541
Joined: Wed Apr 27, 2005 4:40 pm
Contact:

Post by Delphi »

Right, I totally forgot. I haven't so much as touched the site or my other project or anything else for that matter since classes started. I was expecting to get to it sooner, but now it's dependent on when I have free time (i.e. not doing work).
Former Dinarch of Antica
Former Citizen of Shireroth
Former Scourge of Micras

osmose1000
Posts: 1462
Joined: Mon Sep 27, 2004 3:35 pm
Location: My Airship
Contact:

Post by osmose1000 »

If it's the javascript calling the URL and that doesn't work, then it should work in the first place, as that should output an ampersand in the string. Try it out and report what happens and we can go from there.
CENSOR'D

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

Hey, just whenever you get the chance, Delphi.

And I will, Moose.
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

User avatar
Kaiseress Semisa I
Posts: 546
Joined: Mon Nov 21, 2005 4:56 pm
Location: Shirekeep
Contact:

Post by Kaiseress Semisa I »

Fixed.

Working on other stuff.
Da mihi castitatem et continentiam, sed noli modo. --St. Augustine

User avatar
AngelGuardian93
Posts: 2583
Joined: Mon Aug 25, 2003 8:36 pm
Location: Russell Castle, Mirioth
Contact:

Post by AngelGuardian93 »

This is a programmers paradise. I do not belong. Backing out slowly...
There are no flowers, no not this time. There will be no angels gracing the lines, just these stark words I find.

Post Reply

Return to “Darwin Hall”

Who is online

Users browsing this forum: No registered users and 4 guests