Jump to content

Converting And Saving Multiple Html Files To Databasr


Tufanayd

Recommended Posts

I have 305 html files and i want to save them into a mysql database. The values which I want to save are:

 

Filename

title

Meta description

Meta keywords

H1 in a div container

Html part in a div container

 

Is it something which i can do using PHP and jQuery ?

 

Thanks in advance.

Link to comment
Share on other sites

What you need is a CMS system, from the sounds of things. You do not want to store the HTML pages wholesale in the database, but only their actual (diverging) content. Some of them might not even need to be stored in the database, but can probably be served as semi-permanent template files.

 

So, in short: You need to learn about CMS systems, and using a pre-existing one is WAY easier (and infinitely more secure) than writing your own.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.