Reply
Code allowing one to change info in one plage and then display it one multiple pages.
Old 11-05-2009, 04:22 PM Code allowing one to change info in one plage and then display it one multiple pages.
Novice Talker

Posts: 8
Trades: 0
Here's my problem. I am creating a few web sites for local radio stations. They want to display school closings on their site and be able to add closings to the list as they receive them. They want the closings displayed on all their sites, yet only updating the closings in one place. Similar too RSS feed, but not quite. Anyone have any tips on how to do this???

THANKS!!!
StreetfireD. is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 11-05-2009, 04:32 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
chrishirst's Avatar
Super Moderator

Posts: 22,251
Location: Blackpool. UK
Trades: 0
Can't be done with HTML only.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-05-2009, 04:38 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
Novice Talker

Posts: 8
Trades: 0
yes I figured, but how do I go about doing it. I have some js, php, experience.
StreetfireD. is offline
Reply With Quote
View Public Profile
 
Old 11-05-2009, 04:47 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
Ultra Talker

Posts: 298
Name: Doug
Trades: 1
To Chris: Yes it can be done with HTML only. Not well, but it can be done.

To Streetfire:
Create a PHP front end to add entries a Mysql Database with the list of closings.

Then write code on each site to retrieve and format that data.

This all assumes you have a person to enter the data.

If not, create a way for your schools to login to the same database and enter their closings. PHP will do it.



RSS feeds are more logical for outbound data in this case.
IE: Users who want the list of closings RSS to them.
__________________
http://www.marketingsanctuary.com Your Marketing is Safe With Us
http://www.technologymorons.com Technology Morons - There is Hope!
http://www.genealogyland.com Home of the Dead Celebrities List
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 11-05-2009, 04:57 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
Novice Talker

Posts: 8
Trades: 0
Thank You! Maybe I should say I have a little php experience. heh I dont know how to do that exactly, but I'm a quick learner. Installing Wordpress and inserting php mailto forms is probably the extent of my knowledge on it. Is this pretty easy? I'm sure I can figure it out if it's not too bad.

Still, any easier suggestions would be cool.
StreetfireD. is offline
Reply With Quote
View Public Profile
 
Old 11-05-2009, 05:08 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
chrishirst's Avatar
Super Moderator

Posts: 22,251
Location: Blackpool. UK
Trades: 0
If all the sites can run PHP code an XML reader for the remote sites and a system for updating the XML wherever the master database will be.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-05-2009, 08:48 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
Novice Talker

Posts: 8
Trades: 0
When you say database, do you mean Mysql or just referring to an XML doc?

I created the following XML file for the content, but I cannot get it to work on my site. Tried various js and just can quite get it to work right.

Help????

<?xml version="1.0"?>
<closings>
<schools>
<name>School 1</name>
</schools>
<schools>
<name>School 2</name>
</schools>
<schools>
<name>School 3</name>
</schools>
<schools>
<name>School 4</name>
</schools>
</closings>
StreetfireD. is offline
Reply With Quote
View Public Profile
 
Old 11-05-2009, 09:08 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
chrishirst's Avatar
Super Moderator

Posts: 22,251
Location: Blackpool. UK
Trades: 0
Any form of data storage is referred to as a database.

MySql is a database SERVER and can contain many database structures.

XML is a flat-file database
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-05-2009, 09:09 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
Novice Talker

Posts: 8
Trades: 0
gotcha
StreetfireD. is offline
Reply With Quote
View Public Profile
 
Old 11-05-2009, 09:14 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
chrishirst's Avatar
Super Moderator

Posts: 22,251
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by StreetfireD. View Post
I created the following XML file for the content, but I cannot get it to work on my site. Tried various js and just can quite get it to work right.

Help????
and exactly how is it not working?

and what code are you using to read it with.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-06-2009, 01:17 AM Re: Code allowing one to change info in one plage and then display it one multiple pa
Ultra Talker

Posts: 298
Name: Doug
Trades: 1
Dude!

If you are going to do something that simple, then just create a delimited text file.

Field A, Field B, Field C

Then "Include" the file in some sort of box or IFRAME in each site.

I got the impressions you wanted to automate it a little more than that though.

You could actually create a database like this.

Field A School
Field B Closed A Boolean Yes No Field.

That way in each event all you would have to do is enter the Y or the N.

The only one's that would screw this up are the one's that "delay".

Think a little bigger than you currently are.

Then go to Marketplace and look for a PHP coder.
__________________
http://www.marketingsanctuary.com Your Marketing is Safe With Us
http://www.technologymorons.com Technology Morons - There is Hope!
http://www.genealogyland.com Home of the Dead Celebrities List
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 11-06-2009, 04:21 PM Re: Code allowing one to change info in one plage and then display it one multiple pa
Novice Talker

Posts: 8
Trades: 0
ooo spam!

I think I am going to do this in Javascript. It sounds easier than what you guys are talking about. eh

I still have a question though... see Javascript section
StreetfireD. is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Code allowing one to change info in one plage and then display it one multiple pages.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.16241 seconds with 13 queries