WordPress.org

Ready to get started?Download WordPress

Forums

GoogleBot (5 posts)

  1. OperaManiac
    Member
    Posted 10 years ago #

    IPB forum has this very cool feature that virtually shows you the googlebot when its on your forum. Can such a feature be implemented in a blog? something on the line of online users with searchbots indentified properly.
    Think this is a weird query. :P

  2. otaku42
    Member
    Posted 10 years ago #

    Do you have a link for the mentioned IPB feature?

  3. OperaManiac
    Member
    Posted 10 years ago #

    http://forum.webdesign4india.com/index.php?act=Online&CODE=listall&sort_key=click
    This is the page where IPB shows the online user. Try to post a test article and googlebot checks that page usually within a minute. and it shows in the online user list.
    Here is a snapshot with both GoogleBot and HotBot online! :D
    http://forum.webdesign4india.com/index.php?showtopic=74&view=findpost&p=352

  4. otaku42
    Member
    Posted 10 years ago #

    As you said: this query is weird :) Nevertheless it should be possible to do something like that.
    You would need two functions and an additional table in your database: The table needs two columns, one for the user-name, one for the "last seen" timestamp. The first function is for saving the last-seen timestamp along with the correct username in the database (if possible, which means that the user either has to have a valid user cookie or an user-agent-string that identifies one of the prominent search engine bots). The second function queries the database for the names of all users that have been seen during the last x minutes and lists them somewhere on the page.
    Should be easy if you know PHP and some of the WordPress internals.

  5. OperaManiac
    Member
    Posted 10 years ago #

    Actually, I am using WP for that particular reason that I don't know much of PHP. This was more of a wish, if some PHP fanatic sitting idle has time to do something like this. :D
    WP is so darn simple to get started with... :|

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.