thus we can check the site is drupal or not On Thu, Aug 27, 2009 at 1:07 PM, aniyathikkutty <[email protected]> wrote:
> http://www.mlgpro.com/ <http://www.mlgpro.com/> How to verify if a website > is made in Drupal? Thu, Mar 5, 2009 by Justin *1) The User Login Test* > By default Drupal sets the user login page as /user, so the test is simply > type in the websites url followed by /user. If the site goes to a login page > you can confirm it by looking at the default format with Username and > Password. > > You can also get variants of "Create new account", "Log In", and "Request > new password" tabs on the top of the page. > > > *2) jQuery and Drupal JS includes test* > Go to any page of the website and view page source. > Under the head tag if you see the following code > *<script type="text/javascript" src="/misc/jquery.js"></script> <script > type="text/javascript" src="/misc/drupal.js"></script>*that means it > passes this test. > > These are the most common javascript files that are used for Drupal's > interface and seldomly renamed. > > > *3) URL hacking for text files* > Type in your website with /robots.txt > > This file can be quite common in most websites for web crawling > improvements. In the case of Drupal the default robots.txt file disallows > certain non-clean URLs. > *# Paths (no clean URLs) Disallow: /?q=admin/ Disallow: /?q=comment/reply/ > Disallow: /?q=contact/ Disallow: /?q=logout/ Disallow: /?q=node/add/ > Disallow: /?q=search/ Disallow: /?q=user/password/ Disallow: > /?q=user/register/ Disallow: /?q=user/login/ Disallow: /?q=search/* > This blocks out some of the pages such as our user login, logout, admin, > etc. pages that are not needed to be crawled by Google. > > > *4) The Weak Div test* > This is a test to determine if the site is using the default block.tpl.php > theming. On one of the pages where you think there are blocks or separated > sections, open up firebug or view page source. In most cases hardcoded > blocks have div tags like: > *<div id="block-block-7" class="block block-block">* > Where in this case the block ID is 7 and it is a custom block where the > content has been hardcoded in. Users can actually change this and the > formats of blocks so this test is not as strong as the others. The reason > this is great test is you can also determine some of the contributed modules > the site uses and if certain parts are custom coded. > > Here are a few examples of this:*<div id="block-views-userpost_1" > class="block block-views">*This site is using a views module. > > *<div id="block-locale-0" class="block block-locale">*This site is using > the locale module. > > *<div id="block-britney_custom-global_news" class="block > block-britney_custom">*This site is using a custom module, the code is for > this module is probably found in a folder called britney_custom > Regards... > Bincy.M.B > http://fsugcalicut.org > http://bincyclt.wordpress.com > http://bnc4u.blogspot.com > http://mazhavazhikaliloode.blogspot.com/ > -- Regards... Bincy.M.B http://fsugcalicut.org http://bincyclt.wordpress.com http://bnc4u.blogspot.com http://mazhavazhikaliloode.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en -~----------~----~----~----~------~----~------~--~---
