473,466 Members | 1,366 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

html to php help

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?

Nov 28 '06 #1
4 1073
"John" <Jo*********@nnnnnnnnn.nowherewrote in message
news:72********************************@4ax.com...
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.
Nov 28 '06 #2
John schrieb:
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
Nov 28 '06 #3
On Tue, 28 Nov 2006 09:51:41 +0100, Christoph Burschka
<ch****************@rwth-aachen.dewrote:
>John schrieb:
>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.
Nov 28 '06 #4
Christoph Burschka wrote:
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

Nov 29 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Rainmaker | last post by:
Greetings, I have not been able to find the documentation that will allow me to insert php code inside the html code in the $message block in the mail() function. Using the example in the help...
4
by: Mike | last post by:
I have used a .CHM html help file with my application. I was wondering if it is recommended to ship the associated files: hh.exe itircl.dll itss.dll hhctrl.ocx Should this just be included...
12
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
13
by: Kieran | last post by:
I am designing a content management system and I want to make sure all pages entered into it's database by users are using valid HTML. I have designed the system to use HTML 4.01 Transitional...
7
by: majid | last post by:
I want write a program with c# to pars a html file how ccan i do this with system.mshtml? or there is other way to do it p;ease help me?
2
by: tomas | last post by:
Our HTML Help Workshop is dated 1999 and does not match the current HTML Help Work documentation. Our HTML Help Workshop version is 4.74.8702.0. This version is also reffered to as version 1.3 ...
59
by: Lennart Björk | last post by:
Hi All, I have a tiny program: <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>MyTitle</title> <meta...
3
by: Chuck Renner | last post by:
Please help! This MIGHT even be a bug in PHP! I'll provide version numbers and site specific information (browser, OS, and kernel versions) if others cannot reproduce this problem. I'm...
1
by: arun raut | last post by:
On Apr 10, 10:32 pm, Rich <R...@discussions.microsoft.comwrote: help not compilation write all easier. But Rich, Without being sure completely, if you want to use HTML as help
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.