The Church Media Community
Equipping You to Communicate Effectively
support CMN & share a
library of 19K+ images, videos, etc
Go Pro!
 
Go Back   The Church Media Community > Website Design > Website Coding Discussions
Forgot Password?
                          Register

Website Coding Discussions PHP, MySQL, Java, Javascript, ASP, etc.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old Monday, August 11th, 2008, 12:42 AM
New Church Media Member

 
 Join Date: Jul 2008 
 Last Online: Wednesday, November 4th, 2009 
XML anyone?

Anyone got any knowledge of xml, I need to modify an XML file... Mike.
Reply With Quote Start a New Topic From This Comment
  #2 (permalink)  
Old Monday, August 11th, 2008, 05:54 AM
hussra's Avatar
Richard Huss

 
 Join Date: May 2006 
 Last Online: Monday, June 17th, 2013 
 Blog Entries: 3
I'm game to help, but can you give some more details of what you need to achieve?

(Hello BTW, I'm originally from north of the border in Lisburn - maternal grandmother was from Clontarf - though I'm now living in the middle of England.)

Best wishes,

Richard
Reply With Quote Start a New Topic From This Comment
  #3 (permalink)  
Old Monday, August 11th, 2008, 08:42 AM
New Church Media Member

 
 Join Date: Jul 2008 
 Last Online: Wednesday, November 4th, 2009 
Hi Richard, I am from Kilkenny but I live in Newry, Northern Ireland now...

I have a countdown clock written in flash and it pulls from an XML file and it tells the time to the next live service but one minute after the time elapses it says the next live service is in 8 hours or whatever and so it effectively by passes the service that is currently going on...

So... I want to be able to edit the XML to show that there is a live service going on currently, so to put in something to show that the service runs from 11 am to 1 pm before it goes on to the next query in the xml...

I have no idea how to do it, I can usually edit what is there easy enough but don't know enough to add my own queries...

God bless, Mike.
Reply With Quote Start a New Topic From This Comment
  #4 (permalink)  
Old Monday, August 11th, 2008, 09:18 AM
hussra's Avatar
Richard Huss

 
 Join Date: May 2006 
 Last Online: Monday, June 17th, 2013 
 Blog Entries: 3
I take it this is for the countdown on http://gracefellowship.ie/grace/index.php and http://gracefellowship.ie/grace/?p=19 ?

Flash isn't my thing really. Is countdown_v1.swf a Flash file you've created yourself? Where does the XML data live - can I see of a copy somewhere? And how does it get loaded into the Flash movie - presumably there's some ActionScript code that reads and displays it - is it possible to dig that out?
Reply With Quote Start a New Topic From This Comment
  #5 (permalink)  
Old Monday, August 11th, 2008, 09:59 AM
New Church Media Member

 
 Join Date: Jul 2008 
 Last Online: Wednesday, November 4th, 2009 
Ok, I bought the flash file, it pulls from an external XML file, I asked the author about editing it and he said if he ever were to consider a version 3 he would consider it but it is not on his to do list right now... anyway i bought and paid for the file and I have the fla files, it has actionscript but most of the info is pulled from the xml... pm me your email address and I will send you the files... Mike.
Reply With Quote Start a New Topic From This Comment
  #6 (permalink)  
Old Monday, August 11th, 2008, 05:42 PM
Sysmom's Avatar
DebC

 
 Join Date: Sep 2005 
 Last Online: Thursday, May 2nd, 2013 
XML is just text, throw it into your favorite programming editor and change what you need. Be careful of semicolons and everything in brackets.

deb
Reply With Quote Start a New Topic From This Comment
  #7 (permalink)  
Old Tuesday, August 12th, 2008, 12:05 AM
New Church Media Member

 
 Join Date: Jul 2008 
 Last Online: Wednesday, November 4th, 2009 
I know it is just text I modifeied it already but I have no idea what to put in to make it display LIVE NOW for 2 Hours...
Reply With Quote Start a New Topic From This Comment
  #8 (permalink)  
Old Monday, August 18th, 2008, 10:03 PM
shayward's Avatar
New PA System Survivor

 
 Join Date: Jun 2006 
 Last Online: Thursday, November 10th, 2011 
Quote:
LIVE NOW for 2 Hours...
Do you know whether or not that is a feature of the program itself? If I had XML that had a tag called AGE and I put a value of "Hello World" in there, the program wouldn't know how to interpret that.

Can you attach the XML file?
__________________
Sanctus Software
More RegEx: (?<BookTitle>[A-Za-z0-9 ]+)\s(?<ChapterNumber>\d{1,3})[:](?<VerseNumber>\d{1,3})
Reply With Quote Start a New Topic From This Comment
  #9 (permalink)  
Old Tuesday, August 19th, 2008, 01:16 AM
hussra's Avatar
Richard Huss

 
 Join Date: May 2006 
 Last Online: Monday, June 17th, 2013 
 Blog Entries: 3
I've had a look at the ActionScript spaghetti and the XML file, and dropped Mike a note with some suggestions on how to proceed... (not sure if you got this, Mike, or if it was any help). Never having had anything to do with Flash before there was a certain amount of hand-waving involved at the point where you actually wanted to display something.

Richard
Reply With Quote Start a New Topic From This Comment
Reply

  The Church Media Community > Website Design > Website Coding Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:



Add to Google


Register Now for FREE!
Our records show you have not yet registered to our community. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


All times are GMT -6. The time now is 09:05 PM.

   
 
© 1995-2008, ChurchMedia™, ChurchMedia LLC

SEO by vBSEO 3.1.0