You are here

README.txt in Drupal Most Popular 6

Same filename and directory in other branches
  1. 7 README.txt
Non-displayable characters.

File

README.txt
View source
  1. Drupal Most Popular - Showcase the most popular content across your Drupal website and engage your audience.
  2. Copyright © 2010 New Signature
  3. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  4. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  5. You should have received a copy of the GNU General Public License along with this program. If not, see .
  6. You can contact New Signature by electronic mail at labs@newsignature.com –or- by U.S. Postal Service at 1100 H St. NW, Suite 940, Washington, DC 20005.
  7. Most Popular Module
  8. ------------------------
  9. by Andrew Marcus, amarcus@newsignature.com
  10. New Signature
  11. http://www.drupalmostpopular.com
  12. http://www.newsignature.com
  13. Description
  14. -----------
  15. This module provides a block that reports the most popular nodes on the site
  16. using a variety of metrics and time intervals.
  17. The most popular nodes can be retrieved in a variety of ways, including
  18. 3rd-party services such as Google Analytics and AddThis.com.
  19. Features
  20. ------------
  21. * Extensible:
  22. - It is easy to add new services, which can pull data from:
  23. - Drupal's internal databases.
  24. - A 3rd-party analytics provider.
  25. * Scalable:
  26. - Data is retrieved from services whenever the Drupal cron job runs.
  27. - The data is cached locally until the next time the cron runs.
  28. - It is easy to control how often each service can refresh its data.
  29. - Many 3rd-party providers specify quotas limiting how many times you can
  30. query their service within a period of time.
  31. - You can specify a different wait period for each of the intervals over
  32. which you wish to receive data.
  33. * Customizable:
  34. - Among other things, you can configure:
  35. - How many results to retrieve from each service.
  36. - Which time intervals to use.
  37. - The order in which to display the services and intervals in the block.
  38. * Themeable:
  39. - You can override the themes used to render each component.
  40. - You can override the stylesheets.
  41. - You can override the javascript configuration to:
  42. - Change the selectors the javascript attaches to.
  43. - Change the transition animations and behaviors.
  44. * Gracefully degrades:
  45. - If javascript is disabled, the module provides a fully-functional alternate
  46. interface for viewing the most popular nodes.
  47. Installation
  48. ------------
  49. 1) Download and install the mostpopular module.
  50. 2) Download any service provider modules you wish to use.
  51. Typically, each of these has additional module requirements:
  52. * Drupal Service
  53. - Requires the Statistics module to be enabled and configured in order to
  54. collect metrics about page views.
  55. * Google Analytics Service
  56. - Requires the Google Analytics module in order to collect analytics info.
  57. - Requires the Google Analytics API module in order to connect with Google.
  58. * AddThis.com
  59. - Requires the AddThis module in order to add an AddThis widget on every page.
  60. 3) Configure the Most Popular settings
  61. - How many items to retrieve for each service.
  62. - Any additional site base URLs to link.
  63. - Which intervals to use, and in which order to display them.
  64. - Which services to use, and in which order to display them.
  65. - How often to refresh data from the service
  66. - Any service-specific settings, such as authentication credentials.
  67. 4) Refresh stats
  68. Gets the initial most popular data from each of enabled services.
  69. 5) Add the Most Popular block
  70. - The block can be added in the usual way on the Block administration page.
  71. - No block-specific customizations are provided. Instead, use the overall
  72. most popular configuration pages to control how the block looks.
  73. 6) Verify that the Drupal cron job is being run regularly.
  74. 7) Verify that you are receiving data.
  75. - At this point, assuming your services are configured correctly and assuming
  76. your services are collecting analytics data, you should see it appear in
  77. the most popular block.
  78. Troubleshooting
  79. ------------
  80. If you don't see any results in the most popular block:
  81. 1) Make sure to click on all of the service and interval tabs.
  82. - It's possible that although one service/interval might not have any data,
  83. other ones do.
  84. 2) Make sure your services are collecting analytics data.
  85. * For the Drupal services:
  86. - Make sure there are comments posted
  87. - Make sure you have viewed some nodes since the Statistics module was enabled.
  88. * For the Google Analytics service:
  89. - Make sure the Google page tracker appears on every page.
  90. - Make sure you've connected the page tracker to the correct profile.
  91. - Make sure you've viewed some pages since you enabled the page tracker.
  92. - GA does not report activity for today, so make sure that at least one
  93. day has elapsed since you started tracking page views.
  94. * For the AddThis.com service:
  95. - Make sure the AddThis widget is pointing to the same username.
  96. - Make sure you have used the service to email at least one page.
  97. 3) Go to the services administration page.
  98. - If any of the services reports "OK", it has successfully received at least
  99. one most popular page since it was last configured.
  100. - If any of the services reports "Configured", it has not yet received any
  101. data since it was most recently configured. This could indicate a problem.
  102. 4) Try to clear the caches and reset the services.
  103. - This will remove all the most popular items for the cache, and it will
  104. reset the values indicating the last time each service was run. This will
  105. force every service to run again the next time you click "Refresh stats".
  106. - Run "Refresh stats" and see whether each service is returning any values.