Connecting Tech Pros Worldwide Forums | Help | Site Map

html to php help

John
Guest
 
Posts: n/a
#1: Nov 28 '06
Hello,


I have a html message board / forums and would like to take the last
message posted and put it on the front of my website somehow. Does
anyone know of a program that would do this automatically?




Bosconian
Guest
 
Posts: n/a
#2: Nov 28 '06

re: html to php help


"John" <John_nospam@nnnnnnnnn.nowherewrote in message
news:725nm2d35dkmq8riffh9v3t5tgk4cb0381@4ax.com...
Quote:
Hello,
>
>
I have a html message board / forums and would like to take the last
message posted and put it on the front of my website somehow. Does
anyone know of a program that would do this automatically?
>
>
>
I'd consult the developers of your forum package. More than likely they
already have a snippet of code to accomplish such a task.


Christoph Burschka
Guest
 
Posts: n/a
#3: Nov 28 '06

re: html to php help


John schrieb:
Quote:
Hello,
>
>
I have a html message board / forums and would like to take the last
message posted and put it on the front of my website somehow. Does
anyone know of a program that would do this automatically?
>
>
>
Question: What is an "html message board"? Surely the server side is
powered with PHP or CGI? Where are the posts stored?

I've done something this before with a message board that ran on another
site and that didn't have a newsfeed (I wrote something that scraped the
posts and returned an RSS feed). I don't recommend this if there is any
other option.

In your case, look first at what the supplier of your board software has
to offer - possibly there is already a way to export an RSS newsfeed.
It's very easy to use such a newsfeed to put the posts on your front page.

The second option is to fetch the posts directly from the database (if
one exists - I know some forums that use flat files, and maybe that's
what you mean by "html").

--
CB
John
Guest
 
Posts: n/a
#4: Nov 28 '06

re: html to php help


On Tue, 28 Nov 2006 09:51:41 +0100, Christoph Burschka
<christoph.burschka@rwth-aachen.dewrote:
Quote:
>John schrieb:
Quote:
>Hello,
>>
>>
>I have a html message board / forums and would like to take the last
>message posted and put it on the front of my website somehow. Does
>anyone know of a program that would do this automatically?
>>
>>
>>
>Question: What is an "html message board"? Surely the server side is
>powered with PHP or CGI? Where are the posts stored?
>
>I've done something this before with a message board that ran on another
>site and that didn't have a newsfeed (I wrote something that scraped the
>posts and returned an RSS feed). I don't recommend this if there is any
>other option.
>
>In your case, look first at what the supplier of your board software has
>to offer - possibly there is already a way to export an RSS newsfeed.
>It's very easy to use such a newsfeed to put the posts on your front page.
>
>The second option is to fetch the posts directly from the database (if
>one exists - I know some forums that use flat files, and maybe that's
>what you mean by "html").


Hi - you are right it's a flat file type of message boards that stores
the html files in a folder on my server. Therefore, there is no
database used. The author doesn't have an rss feed for this board.
Toby Inkster
Guest
 
Posts: n/a
#5: Nov 29 '06

re: html to php help


Christoph Burschka wrote:
Quote:
The second option is to fetch the posts directly from the database (if
one exists - I know some forums that use flat files, and maybe that's
what you mean by "html").
Flat files *are* a database -- not a full-fledged ACID-compliant SQL
RDBMS, but a database all the same. And the data can be retrieved from
flat files fairly easily using fopen() and so forth.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Closed Thread