Page 1 of 1
Question: ShireFox
Posted: Wed Jan 18, 2006 3:54 pm
by Kaiseress Semisa I
What would you like to see ShireFox do, regardless of how goofy or strange it is?
Posted: Wed Jan 18, 2006 4:01 pm
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.
Posted: Wed Jan 18, 2006 4:07 pm
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.
Posted: Wed Jan 18, 2006 4:31 pm
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.
Posted: Wed Jan 18, 2006 4:34 pm
by Bill3000
ASC conversion, please.
Also, change the name of "The Grand Commonwealth" to "The Great Satan".
Posted: Wed Jan 18, 2006 5:12 pm
by Kaiseress Semisa I
That may be it's intention, Moose, but that's not how it works.
Posted: Wed Jan 18, 2006 10:19 pm
by Shyriath
ASC conversion, please.
Seconded... and maybe also a Shirerithian calendar date, if that could be managed/fit in.
Posted: Wed Jan 18, 2006 10:42 pm
by Delphi
ASC?
Posted: Thu Jan 19, 2006 9:34 am
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.
Posted: Thu Jan 19, 2006 10:18 am
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.
Posted: Thu Jan 19, 2006 12:19 pm
by Kaiseress Semisa I
...but will that be recognized by the JavaScript that actually calls the URL?
Posted: Thu Jan 19, 2006 12:20 pm
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.

Posted: Thu Jan 19, 2006 2:44 pm
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).
Posted: Thu Jan 19, 2006 3:50 pm
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.
Posted: Thu Jan 19, 2006 6:06 pm
by Kaiseress Semisa I
Hey, just whenever you get the chance, Delphi.
And I will, Moose.
Posted: Thu Jan 19, 2006 9:23 pm
by Kaiseress Semisa I
Fixed.
Working on other stuff.
Posted: Fri Jan 20, 2006 12:23 pm
by AngelGuardian93
This is a programmers paradise. I do not belong. Backing out slowly...