Little Green Delusions - Browsing Linq to Xml
-
We’re off to see the wizard…
It seems that I have managed to make most of AtomSite function on my server by now. It has been a frustrating adventure, full of cranial depilation and temple-to-masonry impacts.
The trick is to NOT use the binary. There is a cruftload of material missing from it, not least the Javascript used to make much of the basic functionality possible. Try deleting a post when using the binary version -- you won't get far.
When I went to use the Source, I ran into another problem. Good luck getting it to work with Visual Studio 2005. I also struck out with Visual Web Developer Express 2008. When I finally installed VS2008, I ran smack into a massive problem: while the main AtomSite solution would open, the WebCore project would not -- and it is the linchpin of the entire source!
When loading up the entire app (for the first time, unmodified), I always got the following problem:
The project file "C:/ … /WebCore.csproj" cannot be opened. The project type is not supported by this installation.
I "solved" it (quotes intentional) by editing the WebCore.csproj file and removing these two entries:
{D0B348D5-387D-46EF-BD9A-DC3C25DD68B9}
{603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}However, once I did this I was unable to "Publish" this site either through a right-click on the WebCore project, or via the Build drop-down menu. Unfortunately, this site must be created using the Publish functionality -- it won't be usable any other way.
Once I wiped my original Source copy and extracted a new one, I replaced the second line above with the following:
{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}Once I did this, not only was WebCore able to load with the rest of the AtomSite solution, but I was also able to publish via a right-click on the WebCore solution.
Now, of course, I am running into another problem. It seems that most of the project's contributors are from the States. While this is normally not the problem, it is a very big problem when it comes to dates. It appears that many of the date functions within the site make use of highly regional-specific U.S. date formats - specifically the MM-DD-YYY format. Unfortunately, my server makes use of the international ISO 8601 date standard, which uses YYYY-MM-DD. This causes any post submission to crash the site unless I manually edit the publish date to conform to the ISO 8601 standard.
Will I fix this now? Hell no. It's 0110hrs, and I need my beauty sleep. Cheers.