quote:
Originally posted by Podge
http://www.asp-dev.com/forum/
It displays for me in Firefox and Opera 7 but not IE6.
It worked for me in IE6.. Try again?
quote:
Originally posted by Podge
My only concern at the time was browser compatability.
What I was thinking is that have the XML put into a string.
Instead of... Response.Write(Some_Value)
You can just have... strXML = strXML & "<block>" & Some_Value & "</block>"
Then you can just have the script grab an XSL file from the profile ( preferred skin ) settings and parse it and then Response.Write() after all is done. This way, you don't rely on the user browsers.
Dim XSLdoc = SomeMethod() 'Cookies or something
Response.Write(TransformDocument(strXML, XSLdoc))
I got the idea after a client wanted a robust forum and I really, really wanted to use Snitz. The problem is that the client wants it ultra minimalist. Since I can't charge for the forum, I thought it would be easier for me to setup Snitz as a general distributable package I can install for each client with a few clicks and focus on the HTML and the graphics.
I should also mention... For the developer team, updating Snitz afterwards should be significantly easier, since most of the core functions and page generation would be separated from the interface.
Your code would be a lot cleaner, so easier to find and remove bugs or add new features.
Let's say you decide to add another function "<browsingThisForum>".
You don't have to mess with the core code to print this. Just add it to the <meta> of the XML.
strXML = strXML & "<browsingThisForum>" & SomeMethod() & "<browsingThisForum>"
Now the XSL file can have this...
<span class="someStyle">There are <xsl:value-of select="meta/browsingThisForum" /> members browsing this forum</span>
See? No mess in the core code, and complete customizability without "breaking"
After going about this for the last two days, I get the feeling I may not be able to do this alone . Anyone else interested in helping?