Entry tags:
(no subject)
XSLT can just bite Mello's fabulous ass.
Spent the afternoonbanging my head on my desk trying to get a blog RSS feed to appear without having the HTML elements stripped out.
Got much farther along than I had before, which is Good, but I have now found more New and Interesting Problems, which is Bad. i.e., sure, I can have the contents of a blog post show up on a page with the HTML tags intact, however if I want that to happen, I have to have THE ENTIRE POST DUPLICATED WITHOUT THE HTML TAGS ON TOP OF IT.
It reeeeally doesn't help that my knowledge of XML/XSL/XSLT is in the "typing in magic words I found on teh intarwebs and seeing what happens" phase. I have almost no understanding of this whatsoever. The only bright spot seems to be that the XML reference books from 2002 and 2004 that the library has, the most recent ones in the collection, seem to still be valid.
Spent the afternoon
Got much farther along than I had before, which is Good, but I have now found more New and Interesting Problems, which is Bad. i.e., sure, I can have the contents of a blog post show up on a page with the HTML tags intact, however if I want that to happen, I have to have THE ENTIRE POST DUPLICATED WITHOUT THE HTML TAGS ON TOP OF IT.
It reeeeally doesn't help that my knowledge of XML/XSL/XSLT is in the "typing in magic words I found on teh intarwebs and seeing what happens" phase. I have almost no understanding of this whatsoever. The only bright spot seems to be that the XML reference books from 2002 and 2004 that the library has, the most recent ones in the collection, seem to still be valid.

no subject
Did you find this already? Scroll down to the second post. Is that any help at all?
no subject
See, every ASP approach I've got to posting the content of RSS feeds automagically strips the tags out of text blocks like blog posts. And I need them in there, to link resources mentioned (this is the What's New? blog for the library), to italicize book titles, etc. So I'm now looking at parsing the XML in the RSS feed via XSL templates*, and I've had mild success with that - they use a CDATA wrapper to surround any text block that needs to keep the HTML tags intact.
The problem is extracting it from that wrapper while keeping the HTML tags intact. The only way I can find that does it, extracts the entire item (blog post) in the RSS feed, which includes the title, the URL, the comments feed URL, etc. Which might not be bad except that it doesn't give me any way I can manipulate those separately, *and* it duplicates the whole post. Note, if you see this comment before tomorrow when I get in and start messign with it again, the current results (http://lib.tcu.edu/www/rss-test4.asp).
* I suspect I'm using the terminology wrong, because I've had all of four hours' exposure to this.
no subject
... oopsie.
So much for online research as a momentary distraction from too many last-minute site updates.
I'll see if I can find anything else ... . We have a contractor here who can do XSLT stuff but asking such a person for help is a no-no ... however, I once did some graphics tweaks for his wife, so maybe he can recommend some help sites or something. But - uh oh. It's Veterans Day tomorrow, so I won't be in and neither will he . ... .
no subject
no subject
Well, you may compare my extra day off tomorrow with the fact that I'm still at my desk now, 90 minutes after my official day ends ... and it sure as heck ain't the first time in the past several months! (Not to mention to two hours I did remotely over the weekend.)
I'll e-mail Raj anyway ... he might pick it up and be able to send me some links.
no subject
:D Thanks!
no subject
No one makes me do this, but things end up getting ugly if certain tasks aren't done and ready to go by the time my counterpart gets in to post them early in the morning ... there's no slack in this job. Too much stuff is time-sensitive. So if I have to spend a long time explaining something to someone (today, it was explaining built-in editor changes that will be caused by our upcoming CMS upgrade), the same stuff still remains to be formatted and staged. Yeah, I could leave the poor suckers alone to figure out the editor biz themselves, but that just shifts the pain down the line.
And yes, I'm also "overtime exempt." Lovely bit of terminology, that ... .
no subject
no subject
no subject