update NEWS portion on website via EMAIL?

Reply

Join Date: Sep 2008
Posts: 8
Reputation: pjrey is an unknown quantity at this point 
Solved Threads: 0
pjrey pjrey is offline Offline
Newbie Poster

update NEWS portion on website via EMAIL?

 
-1
  #1
Oct 2nd, 2008
is it possible to update a portion of our website via email (if a blank email is sent, the dhtml window will be hidden) if an email with text is sent, it will show the box, saying NEWS and a border, with the text sent via email inside...

when you write again, it would erase the first and post the new text... email a blank email, text box goes away compeletly...
i need a master!
teach me!

thank you
pj
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: update NEWS portion on website via EMAIL?

 
0
  #2
Oct 2nd, 2008
I suggest you look into existing programs on script archives such as www.hotscripts.com and see if you can find something that does what you want or comes close to doing it.
Last edited by KevinADC; Oct 2nd, 2008 at 4:52 pm.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 8
Reputation: pjrey is an unknown quantity at this point 
Solved Threads: 0
pjrey pjrey is offline Offline
Newbie Poster

Re: update NEWS portion on website via EMAIL?

 
0
  #3
Oct 2nd, 2008
i have searched already, that is why i am posting here.. i found nothing.. i just searched over at hotscripts, found ntohing there as well... does anyone know if it is possible to do what i ask? i would imagine it is..
i dont know where to start... but i imagine someone knows...
any help and i would greatly appreciate it!

thank you
pj
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: update NEWS portion on website via EMAIL?

 
0
  #4
Oct 2nd, 2008
I am sure it is possible, but it would not be too easy. Your question is considerably beyond the scope of a typical question posted on a forum.

You would need a program that monitors incoming emails, seaches for a certain subject line or an email address and opens the email and extracts the data out of the email. It would need to run checks on the data to make sure its what the script expects.

The script would then do whatever the update is that you need done on the website. The easiest would be to put the data from the email in a file or database then have a script that reads in the data and generates the webpage dynamically, just like this forum does.

This would all have to be custom written for your specifc requirements.

Maybe its time to hire a programmer? Sites like eLance.com and oDesk.com have many programmers from around the world that will bid on your job.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 2
Reputation: mcjohn87 is an unknown quantity at this point 
Solved Threads: 0
mcjohn87 mcjohn87 is offline Offline
Newbie Poster

Re: update NEWS portion on website via EMAIL?

 
0
  #5
Aug 12th, 2009
thanks so much for useful info
SNIP
Last edited by happygeek; Aug 14th, 2009 at 6:02 am. Reason: fake sig snipped
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,321
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: update NEWS portion on website via EMAIL?

 
0
  #6
Aug 13th, 2009
I cant do it via email, incoming mail servers are not easy to access
in php its a trivial matter
this code embeds in the html at the point the news is to appear
  1. <?php $content=filegetcontents('path to uploadfile');
  2. /* code to check & sanitize $content per your requirments */
  3. if !$content { echo '<div class=\'filler\'>watch this space for news updates</div>';
  4. exit; }
  5. echo "<div class='news'>$content</div>"; ?>
to get the news text
and an upload link or ftp to send the data

its not the approach you asked for, but it may work for you, or a perl guru can produce similar code
Last edited by almostbob; Aug 13th, 2009 at 12:50 am.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: update NEWS portion on website via EMAIL?

 
0
  #7
Aug 13th, 2009
considering the thread is almost a year old.......
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,321
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: update NEWS portion on website via EMAIL?

 
0
  #8
Aug 13th, 2009
Originally Posted by KevinADC View Post
considering the thread is almost a year old.......
unsolved, of vague interest to me, an alternate approach if the op is interested enough to return.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: update NEWS portion on website via EMAIL?

 
0
  #9
Aug 13th, 2009
you're welcome
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Perl Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC