Hi, I converted/rebuilt this sample for an asp.net / xml guestbook into a news-script.
Only one thing.. I know I have to use CDATA to store HTML in XML.
Should I use XML or go for Access db?
I dont have admin access to a sql db on the server, so I prefer a file I can access via the LAN, as I then have more control.
I have made the script work, but if I try to insert HTML, even with HtmlEncode , it will crash if I use any tags like <br />, etc.
Should I just implement the cdata, or should I go away from XML for this purpose?
Ps. the data-limit is not very high, maybe 1-2 article per week! I thought XML could be nice, as it could then be "shared" via RSS.
Though, I guess I could also export to XML from a db, through asp.. What would you people do? Pros and Cons?
I dont know if the XML will be much slower than access?
Also I guess its harder to manage/delete/edit. (I have only the insert and output atm.)
ps. I'm writing the code in textpad so I dont have the RAD.
Olav Alexander Mjelde
Admin & Webmaster
Only one thing.. I know I have to use CDATA to store HTML in XML.
Should I use XML or go for Access db?
I dont have admin access to a sql db on the server, so I prefer a file I can access via the LAN, as I then have more control.
I have made the script work, but if I try to insert HTML, even with HtmlEncode , it will crash if I use any tags like <br />, etc.
Should I just implement the cdata, or should I go away from XML for this purpose?
Ps. the data-limit is not very high, maybe 1-2 article per week! I thought XML could be nice, as it could then be "shared" via RSS.
Though, I guess I could also export to XML from a db, through asp.. What would you people do? Pros and Cons?
I dont know if the XML will be much slower than access?
Also I guess its harder to manage/delete/edit. (I have only the insert and output atm.)
ps. I'm writing the code in textpad so I dont have the RAD.
Olav Alexander Mjelde
Admin & Webmaster