December 9, 2007
Coding Help
So here's the deal. I'm working on the design of another website, a pro bono deal for a church. And I had this nifty idea. They have an Events page. The page has a "headline" which gives the event name, the day, date and time. Then there's a description of the event. It's a straight-HTML and CSS page. Wouldn't it be cool if there was a little nugget of code in the background that could rip that "headline" to an XML file every time they update that page? And then that XML file would display in a little box on the home page? That way the current events (sans the longer description on the Events page itself) would appear in a little box on the homepage and on the events page and they'd only have to update it once instead of on each page.
I know this can be done. But I don't know Javascript or a whole lot about XML (hey, MT and Feedburner generate my XML for me). I'm a graphic designer who knows some code, not a full-blown web developer. Anyone wanna walk me through developing this?
Posted by Red Monkey at December 9, 2007 1:33 PM |
Blog
|
Stumble
You could use perl for "ripping" the headline from the HTML file. If I understand you correctly, you currently have a static HTML file with the events listed in it. My suggestion for you would be to have a database for the events. It may seem like work but it isn't and it'll be easier for you to do dynamic things like you've mentioned.
December 10, 2007 2:02 AMOmyword! said:
I found you through cre8buzz...
Can't you find a widget that will display the events? Can you make the events page a blog and then get a feedburner widget to display the event posts? I'm not a coder either...just thinkin' outloud.
I love your printed circuit board background by the way. 100 years ago, I used to be a circuit designer. :-)
December 13, 2007 6:21 AM
Leave a comment


chica said: