Create editable html/css website [closed] - html

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Let's say I have a website with some content in it:
<p> Here is my content </p>
When administrator logs in, he wishes to edit this content. Which programming/designing tools should I use to add this feature?

You would need some kind of dynamic language. Something like PHP, Python or similar. This would give you the tools to build a secure area for an administrator to log in and make edits. You'd then need to use this language to write some function to display the pages, create the URLs, update menus etc etc.
You would also need some kind of database like MySQL or PostgreSQL for instance to store the content of the pages.
All in all it doesn't seem like a worthwhile idea to roll your own script for this. We have a saying in web development - "don't reinvent the wheel". Wordpress would be my recommendation for you. It's not my favourite CMS but it is incredibly well documented - for beginners in particular - and it'll give you everything you need to get going. It also has an option were an administrator could log in and then use the front end of the site and just click edit when they want to make a change to the page they're on.

For editing content and enabling user login you can use PHP. You can code your own site/blog or you can use scripts that already exists. You should read more about PHP / MySQL on w3schools or some similar site.
Things you should learn that I recommend you :
PHP
mySql
Wordpress
Visit w3schools.com for more details about PHP and MySQL.

Storage. Normally, you will need to have DB where you will store all the date, user access details, e.t.c. Sure, this can be done via text files (html, xml, txt e.t.c.) but this doesn't make much sense.
Editing You need some kind of editor if you don't want your administrator to edit plain HTML. You can try any of WYSIWYG editors.
All other things You might need in the future other things connected to editing (save labels, use keywords, insert images e.t.c) - all of this is already done in any CMS.
According to all of this info I would suggest you to take on of ready-to-use CMS which can hold all of these features from scratch (e.g. WordPress, Joomla or any other).

Related

How to set up things for MediaWiki for my website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am trying to set up a website with MediaWiki on a Shared Hosting service and am getting frustrating results. First I am going to list what I want out of my website and will show the hosting details to show you what kinds of problems I am running into here:
So the main objective of the website is to run a database of events in human history (relating to World War 2)
I want to use the Visual Editor extension to create a more visual style to edit articles (which requires Parsoid) so that editors won’t have to go through the pain of using the old wiki editor and memorizing the different characters needed for specific things and so that editing the whole thing won’t look like a complete mess.
I want to make it so that only selected accounts/people can create and edit content on the site.
I want to be able to have some sort of forum so that people can ask questions and communicate with each other.
I want my site to have a certain kind of style (which I know is a skin but was wondering what's the best way to create one is. Also, do skins also come with the ability to customize the site to have certain functions? Because I have seen sites like halopedia which seems to be running on MediaWiki but have a lot of different kinds of functions and all that. )
I want to create some sort of email system for my thing (although I could just maybe use another service which would be easier)
These are pretty much the main things that I want but there are some smaller things that I can ask how to do some other time as they are not mandatory right now. Here are the details for the hosting service that I use for the website just to give you guys a better understanding of my situation here.
I am using Bluehost as the hosting service and cPanel as the file management system
The website is currently on a shared hosting plan and the best one that I could get without spending a lot a month.
I used Softaculous to download MediaWiki onto my website.
One of the main things that I have been having trouble with is installing Parsoid to install the VisualEditor extension onto the site. The problem is that to install Parsoid you need Node.js which I can’t install on my hosting service because it is shared hosting. However I tried following the instructions on the page that shows you how to do it using Heroic but have been having trouble with that too.
If you wait a few weeks, MediaWiki 1.35 will be released with a PHP implementation of Parsoid.

building html resume... should I use JSON? PHP includes? sql? xml? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am building an html resume (with bootstrap tabs) but want to break the sections into separate parts for easy editing and repurposing.
For example, have the work experience data in one file, have education in another and link them to a tabbed html page, but also have the option to export to a docx or pdf. Have skills appear on the html version but not on the pdf export.
What would be the best architecture design to use? Would JSON be good or should I use PHP includes.
What about xml? or should I just maek it a mysql database and use PHP to pull that data (this seems like overkill for less than 1,000 words).
I would argue any of these will be an overkill for a small project. So I'd go placing it all in one html file.
If you want to automatically generate pdf or docs it's no more a html resume. So I won't answer generating part of the question.
As for html management you can use templating language, e.g. Nunjucks or Pug
It will allow you to include html files one in another; the downside is you'll have to setup a build tool like Gulp for this (which will require some basic Javascript knowledge and time).
Something which you need to consider is the format which you would be handing into potential employers.
If you are hoping to hand in a web page, you would probably want to "render" it and not hand in a piece of functioning code. The reason for this, is if the employer/recruiter is unable to open or correctly read the file, this will decrease your chances of getting the job dramatically. Not to mention many large companies use bots which read CV's for you, See this article which explains that matter all to you.
You would also want to consider what some companies/recruiters may think when they see CV.html in their email inbox. Some will think its a really smart and creative idea, others may think it is an incompatible file with their computer and may never open it. Leaving instructions on how to open the document may take time which the employer doesn't have.
I'm not saying its a ludicrous idea, I'm saying you need to properly plan it out. Personally, I would keep an online copy on my website, but I would also have an additional copy (Word document or PDF) which could be downloaded and accessed by those bots which I mentioned early.
In programming there are many ways to do the same thing, and it is entirely up to you and your abilities to find what is best.

Open source CMS that can be plugged in on the back end of an existing site? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a problem to solve which I think is relatively common. I have an existing web platform, built on a PHP or Java framework, which serves multiple sites. I would like to add a CMS back end to enable the company's employees to create, edit and publish content using an intuitive interface. However, I do not want the CMS to manage the front end of the site, I only want it to create the content in a database or XML repository, and hopefully deploy the content to multiple environments (preview, staging, production, etc). Our priority is a clean and stable editorial interface for non-technical users to edit and publish content.
I can then integrate the content with PHP or JSP templates on the front end, using something like mod_rewrite to identify content IDs in the URL and call content controllers to load the correct content from the repository. There should be no need to deploy any CMS code to the production servers at all. I've done this in the past using commercial CMSs such as InterWoven and Documentum, but now I'm looking for an open-source option.
I am looking at the usual list of candidates, including Drupal, Alfresco, WordPress, Joomla, and also more general frameworks like Django.
Would you recommend any of these tools (or any others I didn't list) for this scenario? Thanks for your advice!
The list you're giving seems nice and diverse. I think you could add Hippo CMS (Apache licensed) to your list, since you don't mind a JAVA framework as your backend. It separates content repository from user interface and frontend applications by default and handles all the link rewriting for you in multiple websites and languages. Since Hippo is targeted at enterprise it works well in a DTAP (clustered) environment. For frontend templating you can use either jsp, freemarker, velocity or gsp.
You can try out the user interface here: http://www.onehippo.com/en/products/cms/try.
If you want to start developing, follow the Hippo trail on http://www.onehippo.org
Disclaimer: Hippo is my employer

What is the best way to generate a sitemap? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need to build a sitemap for my website.
The url will be "www.example.com/mysitemap.html".
I know that there are some tools that generate automatically an XML file that contains the
reachable URLs and also improve the SEO.
So my questions are:
How can I build this HTML page going from the generated XML? Or am I wrong and this kind of HTML page is built manually? If not, how do we integrate the XML and convert it to the website?
Thank you very much.
Regards.
If your site architecture is contained in a database (like a CMS) you can do something like Darkyo suggested.
However there are easier methods. There are many free services which crawl your site and create a sitemap
http://www.xml-sitemaps.com/ or http://sitemapdoc.com/ are some examples but the Internet is full of them. Just google "sitemap creator".
If you want to create your own script there is program called "php sitemap ng" at http://enarion.net/google/phpsitemapng . This can be a real good starting place.
If you run a content based site (like YouTube for example), just write a small script that reads your database and generates an XML file for each URL.
Put it as a cron job once every day/week. You can also ping Google/Yahoo/MSN etc. when your sitemap gets updated so they can pick your new sitemap and index the new URL's.
It really depends of how is programmatically build your website,
if your website is huge and reflects a db schema, the best thing
is to write a friendly url generator and store it to the db.
Thank to this system you'll be able to manage retrieve your sitemap easilly
Select CONCAT("http://mysite.com/article/",article.friendly_url) from article
But as I said it highly depends of your architecture / programming ....
Automatically is very hard. You can help though, by using correct semantics.
This will make Google pick up your site's structure better.
When your website consist of static pages you can create a sitemap yourself. If though it is generated with a database you can do this programmaticly. This won't be easy though if you have no experience.
If you use a CMS like Wordpress or Drupal or ... you probably can generate it with a plugin. Use Google for that!

CMS for User-Generated Content? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm developing a user-generated content site.
Note it's not a blogging system, forum, wiki or any of those shrink wrapped things. It'll have it's own specific forms and content niche, so I'd like the power to tweak everything basically.
The method of authenicating users will likely be 3rd-party ie open id, facebook, twitter, etc. So the system would need to allow me to hook into another api for this purpose.
Anyone know a CMS built for user generated content like this?
I'm confused... first you mention you're a developing a CMS then later you ask what premade solution works?
The closes you can get is drupal, well, even for pre-made system there is always something to "modify". Although I think James forgot to mention, Drupal has quite a steep learning curve and very long handbook so prepare yourself to take it slow and practice.
Also, it would be nice to know what programming language are you writing the web application? So we can provide more suggestions under that category.
Have you seen Agility CMS? It has a UGC module that allows you to build custom content types for your user submissions and then allows you to hook the logins in with Facebook Connect or other provider.
It's based in ASP.NET
www.agilitycms.com
I happen to be with the company, so I can answer any questions you have :)
You've basically eliminated every CMS under the sun by insisting that no pre-made system could possibly handle the types of content you want...
But even so, I can still suggest two systems that might be configurable enough to do whatever it is that you need.
The first is Drupal. It's a CMS, written in PHP. It has a very very configurable and extendable system of content types (check out the Content Creation Kit), and has a huge range of pre-written modules and plugins (even the CCK has its own plugins).
Because of its flexibility, Drupal powers a huge range of sites - everything from single-author blogs, through community forums, up to http://whitehouse.gov. The Drupal site has a case studies page which lists many different types of sites built on Drupal.
If Drupal isn't flexible enough for you, you probably need to stop thinking about a CMS and start thinking about a Web Framework - Wikipedia has a comparison table to help you find one in your preferred language. Personally, I've only used Django; but Ruby on Rails and Grails are also popular.