Detect CMS (Wordpress, etc.) based on HTML source - html

Is there some means to identify the CMS (Content Management System) which was used for creating a webpage based on its HTML source code?
Sometimes I see webpages and immediately wonder with which tool they were developed. With tool I mean CMS like Wordpress, Drupal, Typo3, etc. I could think of some fingerprinting-technique which could do that.

It's hard to pinpoint the backend CMS accurately. Almost all CMS systems out there support custom themes which would have completely different HTML code.
Your best educated guess would be to try and identify the CMS by:
The robots.txt file in its root directory.
The existence of the CMS admin panel login page.
The folder structure used to serve page resources such as images
and css files.
The presence of a specific CMS backend file.
The URL structure of default services such as RSS.
For example, if you are to guess if a certain website uses WordPress, you would do the following:
1- check the existence of robots.txt and if it contains "Disallow: /wp-admin/" then there is a high chance this is a WordPress website.
2- If you get a response from accessing the default WordPress admin panel at http://domain_name/wp-admin , then there is a high chance this is a WordPress website.
3- If this file exists http://domain_name/wp-mail.php then there is a high chance this is a WordPress website.
4- If we get a valid RSS feed at this URL http://domain_name/?feed=rss2 then there is a high chance this is a WordPress website.
Now if a site meets 3 out of the 4 detection rules listed above, you can safely say it's a WordPress website.
You need to do the same thing in identifying unique detection rules for each CMS you want to detect.
Note that there are existing services such as http://whatcms.org/ and http://guess.scritch.org/ that do what I described in this answer.
Good luck!

Related

Can I combine existing static HTML website with new CMS site under same domain name?

I'm a member of a small society with an html website (cmyf.org.uk) built many years ago -most of the information is static and very rarely edited but we would like to add blogging and other functionality. My question is, should we set up a CMS site under a new domain name, or is there a way to combine the existing static site and a new section with modern CMS under the same domain name, without needing to import existing content into the new CMS? We are working with a very small budget so would like to save on domain hosting costs.
You can easily create a dedicated subdomain, i.e.blog.cmyf.org.uk, and set up any cms just for blogging purposes (e.g. WordPress or Ghost CMS). Ask your domain provider or server admin for help - by definition creating and configuring a subdomain is free (in comparison to registration a new domain).
Most of the common off the shelf CMS/blogging software can be relatively easily configured to run from a subdirectory under the webroot.
That would be one way to have both sites co-exist happily, on the same webhosting package and domain.
There may well be other or more desirable ways to accomplish the same thing but they all depend on the details (which software/blogplatform, what webhostingcompany and what kind of features they offer, etc.)

How does one create global variables for MediaWiki articles?

I have created a website powered by MediaWiki that offers documentation on the interface for a web application.
The URL for my web application may change. However, many articles on this MediaWiki site link to the application.
I would like to create a global constant somewhere called say "WEB_APP_URL" that I may change at any time, and that editors of the wiki can use to link to the application.
That way, I won't have to do a massive find and replace when my application URL changes.
Is this possible? I am working in a LAMP environment. Thank you.
I think the simplest way is to create a template. That is, you can create a page called Template:web-app URL with this wiki-text:
http://this.is/the/URL/of/the/web.app
and then editors can write things like:
The application is located at {{web-app URL}}.
or:
[{{web-app URL}} David Faux's application]
and the URL will automatically get dropped in.
(That's not the only way — you can get similar effects through internal configurations and hooks — but I think the template-based approach is the simplest.)

What user friendly subdomain should I use with an existing site?

I am developing a login and account system for use with an existing website, this will run on a subdomain under the main site url.
I would like to use a subdomain that is generic enough so it isn't tied to an account system but not off-putting to users.
I was thinking of www2 but I am concerned people will see this and think its not "legitimate".
Thanks
Some more context.
The new site is currently used for the login and account system but I will eventually migrate the whole website to the new system, this means the services and pages served by the subdomain will very a lot so it can't be specific to one thing.
Try something generic in the interest / knowledge domain of the existing website. What does the existing website do or provide? This can help you determine a proper subdomain.
Some generic examples:
info.domain.com
account.domain.com
auth.domain.com
app.domain.com
to.domain.com
Providing a better subdomain is going to require some more context.

How do i load my html files into the internet?

I am learning the html course from the available tutorials on the internet. And with that knowledge I have developed some html files and I believe there is more to go. These files consist of our old school friends and their present condition and what they're doing. I have created a bunch of html files. Like I have created a website for now named as www.mypage.com
Arjun
So in the href I'm just giving the path but those files are in my desktop pc itself. How do I put them on internet and share with my friends who are living somewhere out of this town. I want to reunite all of my school friends using these files. But where do I upload them and make it like a webiste to my friends? Is there any free way to do that? Or any possible way to reach it.
And I'm saying sorry if the question is not for the tag I mentioned. Please let me know and I remove the tag. I don't know what is the link to wikiposts to share my views. If you know then let me see the link. Thank you.
Find a web hosting service (Google knows lots)
Sign up
Follow their instructions
Arjun
And use relative uris
I use http://webhosting.uk.com ... for about £32 a year you get asp.net hosting and access to sql server.
then you simply ftp up to your website something like this (using windows explorer) ....
ftp://mysite.com <-- not a real link
... that would then open up the remote server as if it was a local folder so you could drag and drop your files straight over.
there's an online chat link on the top right of the homepage, the support staff will walk you through getting setup.
don't forget though ... the cost of the domain name that's the bit that turns your server ip address in to stuff like google.co.uk ... I highly recommend them.
I shall just expand on Quentin's answer, because it is clear that you are new.
What you need is a web hosting service. This is a service which hosts your html pages, meaning stores them in their own computers, and also displays them to the world as webpages. Web hosting services are usually paid, but there are some excellent free services if your content is not too big. A simple and free service that I would recommend is Google Sites. You could also try Google App Engine, where you have more freedom and control over your content, but for the same reason it is a little more advanced. But since you are learning html, I believe it is a wise idea to learn more about these services and related concepts.
When you upload your files, the html links need to be changed. They can no longer point to files in your hard drive. When you upload these files, there will be a directory structure in it. All you need to do is place hyperlinks with relative addresses.
And about what your website will be called, www.whatever.com, that is quite another business. For that, you need to register your own domain name, for which you must pay. If you don't want to, then your website will be labelled something under the hosting service domain name. This forum is not adequate to go into a more elaborate explanation of all this, but I think I have mentioned all the key terms, so do some research!

simple way to quickly edit my website

here's my website:
www.newportclassic.com
do you know of any free, easy to use, content management systems, that will allow me to simply edit the text on my site without having to download the file, open the file, edit the code, save the file, upload the file ???????
I know of a few CMS's that have done well, here are two of them.
Wordpress - free - http://wordpress.org/ - 3.0 is coming soon
Perch - paid - http://grabaperch.com/ - very light and easy
Wikipedia has a very good list of content management systems broken down by language and cost (open source/proprietary) and DBMS. Most of the ones I've used/evaluated in the past have been .NET based, such as DotNetNuke. Pretty much any CMS will give you the ability to edit your HTML without changing any files on your web server. If you're going for simplicity, the Wikipedia list has several that use a flat file instead of a database, so I would start there: http://en.wikipedia.org/wiki/List_of_content_management_systems#File_.2F_Flat_file
As an alternative to installing a CMS on your server, you might be interested in a service like CushyCMS. It allows you to specify what parts of your page are editable by setting an appropriate class in each editable div tag. Then to edit the contents of those div blocks, you log in to the CushyCMS site and make your changes right there. CushyCMS connects via FTP to the server for you and updates the HTML page.
You can use emacs -- it has a mode (tramp) where you can open, edit and save remote files as if they were on your local machine. This makes it really easy to edit files on a webserver.
haven't used it myself but i've heard Surreal CMS is quite good and easy to setup. Here's a tutorial to get you started.
In terms of user friendliness zimplit is hard to beat.
Try their demo.
You can literally edit your website with a wysiwyg interface inside your browser.
Refinery HQ is probably the easiest way to create, edit and update your website. You can upload images and files as you describe in your question.
You can also connect it to your own domain (it's a hosted service). So you'd be able to hook the site you create up to newportclassic.com