Most viewed/downloaded article

This is a discussion on "Most viewed/downloaded article" within the PHP Forum section. This forum, and the thread "Most viewed/downloaded article are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 12th, 2007, 18:58
Junior Member
Join Date: Aug 2005
Location: Denver, CO
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Most viewed/downloaded article

Hello,
I'm making a library site. It's done in pure html and no content management system is used. I would like to add some functionality to be able to display most viewed authors, most popular books, most downloaded articles.
Is it possible to use any free PHP script or modify some PHP script to do this. I have some very basic PHP skills, so I can modify or write something not very complicated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 12th, 2007, 19:48
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Most viewed/downloaded article

You can check which page is viewed the most via google analyctics.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 12th, 2007, 20:14
Junior Member
Join Date: Aug 2005
Location: Denver, CO
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Most viewed/downloaded article

Yes. And I can check my statistic while l logged in into hosting control panel. But the question is: Can I automate this task?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 12th, 2007, 21:00
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Most viewed/downloaded article

Not with "pure HTML", I'm afraid.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 12th, 2007, 21:31
Junior Member
Join Date: Aug 2005
Location: Denver, CO
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Most viewed/downloaded article

OK, I'm speaking about switching to PHP. The site is not designed, it should not be a problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 12th, 2007, 21:44
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Most viewed/downloaded article

Do you wish to learn PHP? Should you wish to, here is a thread that will provide some resources, http://www.webforumz.com/php-forum/6...-beginners.htm.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Oct 13th, 2007, 00:14
Junior Member
Join Date: Aug 2005
Location: Denver, CO
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Most viewed/downloaded article

Alex, thanks for your replies.
I do have some PHP skills. So, the goal is to use some open source code that is already designed and modify it if necessary. If this exists.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Oct 13th, 2007, 00:21
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Most viewed/downloaded article

Hmm, there is probably a CMS plugin for this.
Besides that, you may have to make your own!
I'll have google about and reply if I find anything.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Oct 13th, 2007, 05:14
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Most viewed/downloaded article

If you have access to your web server log files, it's quite easy to write a separate page that analyses (yesterday's) log and prints out the most visited pages - I set up one of these in about an hour on a course I was giving a year or two back and it's developed into this report with some added sophistication.

It works well while the log file remain quite small (I only have around 100,000 hits a day on that site) but really should be cached to save compute each time it's called up. It would also be relatively easy to provide it as a PHP include to put on multiple pages.

Please follow up if you have access to the log file on your server and would like to see the source, and I can dig it out. Little point in me gooing all that way if you don't meand quite this / want something that's immediate rather than yesterday / don't have log file access
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing Downloaded Forums geyids Web Page Design 7 Jan 3rd, 2008 05:36
H1 header not being viewed correctly in both browsers jj1234 Web Page Design 2 Feb 6th, 2006 08:04
Problems when viewed on a Mac macntig Web Page Design 0 Sep 6th, 2005 11:26
Return to previously viewed screen Imara96 Flash & Multimedia Forum 5 Apr 23rd, 2005 22:18


All times are GMT. The time now is 02:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42