I have a website with an increasing amount of articles and news reports and
so I am thinking of moving away from storing each article as a seperate page
to having a single page and storing articles in a databasewhich are
retrieved using a GET parameter.
I see the advantage to me in using this approach as being making use of
MySQL's fulltext search capability and less work needed when updating the
design of the page. I'm not sure of a few things though:
1. The exact benefits of fulltext. Can someone provide a brief explanation
or a good website
2. I imagine that storing just the plain text of the article in the database
will result in a single block paragraph when retrieved into the page. Do I
need to include the HTML markup with the text in the database or is there a
different approach?
3. Will the HTML markup in the article interfere with the ability to search
for words i.e. if I have a word "recipes" in an article that is surrounded
tags like <b>recipes</b>, will a search on this article pick out the word
from in between the tags?
Thanks.
Mark
so I am thinking of moving away from storing each article as a seperate page
to having a single page and storing articles in a databasewhich are
retrieved using a GET parameter.
I see the advantage to me in using this approach as being making use of
MySQL's fulltext search capability and less work needed when updating the
design of the page. I'm not sure of a few things though:
1. The exact benefits of fulltext. Can someone provide a brief explanation
or a good website
2. I imagine that storing just the plain text of the article in the database
will result in a single block paragraph when retrieved into the page. Do I
need to include the HTML markup with the text in the database or is there a
different approach?
3. Will the HTML markup in the article interfere with the ability to search
for words i.e. if I have a word "recipes" in an article that is surrounded
tags like <b>recipes</b>, will a search on this article pick out the word
from in between the tags?
Thanks.
Mark
Comment