+ 1
Uploading contents on a website
Hello house, I'm really want yo know how to upload contents on a website. for example a news station like CNN or even a blog would need to upload stories, how do they do it. do they have to paste or write the story at the body part of the code (it would be stressful to do if the site is made up of hundreds of lines). or rather is there any other method of publishing stories on the website. Also do you have to write (code) a new page if you're putting a story online. it'd be cumbersome to do.
5 Respuestas
+ 6
Some contents are static contents, (contents that do not change that can be placed or built with the home page, but the dynamic contents are done by database, a class or a function that uploads content to the server and registers it to the database.
+ 4
that's what CMS (Content Management Systems) are for.
take a look at WordPress, TYPO3 or Drupal for example. they all have an admin panel where there is a WYSIWYG editor to post stories/content/pages... they're stored in a database (some small CMS use files to store the contents).
you'll need php and sql to use them.
+ 2
Ofcourse you dont need to write any new code. That kind of websites have their cms (content management system). The biggest example of cms is WordPress. It's an open source so you can dowload and study on it. For more detail you can ask question ☺
+ 1
OK. thanks. @mario so posting a new story automatically generates a new page?
0
how is also the home page created. After uploading it's only the summary of the article that shows in the home then you click to read the full article.
please @Mario L. how is that done.
is there any mechanism that summarises articles and put them on the home page?