I'm currently maintaining a website that's coded in Classic ASP, and I need to figure out a way to exact specific bits of text from .XML and .INC files, and use them to display them as custom page titles and meta descriptions within an article detail page
Here is a link to an example article detail page:
If I was working with a database of some kind, it'd be no problem for me at all. However, the site is instead pulling data from.XML and .INC files, .. and I can't quite figure out how to interface with them and extract the data. For example:
Title Tag = Article Title
Meta Description = First Few Sentences of Article Body
I've attached all of the relevant files (see below).
I suspect that all I need to do is find a way to interface with the file named "articles.xml", .. since it seems to contain the titles and short descriptions that I need.
If I could somehow just query the XML file using the article id value, and then display the data, I think that might do the trick. Any help would be appreciated, .. as my ASP coding skills are pretty weak.