WordPress.org

Ready to get started?Download WordPress

Forums

phpGiggle 1.3.0 Released (49 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    A tool to automatically link key words and phrases in blog posts.
    Download: http://www.biermana.org/index.php?p=12
    Changelog:

    1. Added click-through tracking for dynamically linked words. Summary click-through report of all phpGiggle links has been added to the admin interface.
    2. Enabled strategic message/banner ad placement which is displayed to user upon clicking a phpGiggle link.

    phpGiggle locates user-defined keywords and phrases in an HTML document or string and subsequently replaces the keywords or phrases with anchor tags linking to user-defined URLs. As well, pre-defined ‘template’ anchor tags are included for Google.com, Dictionary.com, Webopedia.com, Vivisimo.com, CPAN.org, Freshmeat.net and others. With phpGiggle, anchor tags for an entire website can be contained in a single file, with links being dynamically generated when the HTML is displayed to vistor’s browser.

  2. OperaManiac
    Member
    Posted 9 years ago #

    this is one of my all time favorite hack :)

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    what?? delete the shameless file?? :)

  4. OperaManiac
    Member
    Posted 9 years ago #

    what! u are running ur adsense on the plugin?

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    umm. yeah. am i bad?

  6. OperaManiac
    Member
    Posted 9 years ago #

    i have yet not tried it. but where exactly are u running adsense? backend console? i wont mind there but could coz problem for u coz my personal blog is banned from google adsense and if i use ur adsense code on my blog, maybe it just might block ur adsense account...
    u should read google's terms and conditions more carefully... it certainly is not a good idea to have ur adsense running on other people's servers.

  7. Anonymous
    Unregistered
    Posted 9 years ago #

    I just re-read Adsense terms and conditions:
    https://www.google.com/adsense/localized-terms
    Don't see anything but...

  8. OperaManiac
    Member
    Posted 9 years ago #

    ur adsense mate! i dont lose anything... though i have some problems of my own to fix on reading that page...
    good to have wp. no terms and conditions like that!

  9. Anonymous
    Unregistered
    Posted 9 years ago #

    yeah. think i'll take it out of the distro.
    thanks Sushubh.

  10. unteins
    Member
    Posted 9 years ago #

    I love phpGiggle....
    I would really love it if I could get it to manage links to books on Amazon.com, I tried to write a function to do it myself, but I would have to rewrite the parser, so I gave up.
    My only major complaint is that phpGiggle matches short words before long words. For example XMLRPC will end up with a link to XML but you can't link to XMLRPC. I think that the majority of the time, long words should pre-empt short words.

  11. Anonymous
    Unregistered
    Posted 9 years ago #

    i would agree long words should take precedence over short words. I thought I had it configured that way. I'll take another look.

  12. unteins
    Member
    Posted 9 years ago #

    On my blog with 1.2, short came before long words, if you fixed it in 1.3, then I guess there is a good reason to get out there and upgrade :) So much to do, so little intelligence :)

  13. Anonymous
    Unregistered
    Posted 9 years ago #

    Had a little bug with phpgiggle-shameless.inc.php.
    It's fixed now - please re-download:
    http://www.biermana.org/files/phpGiggle-1.3.0.zip

  14. bambam4479
    Member
    Posted 9 years ago #

    Is there a plan to make this a plugin for 1.2 and beyond? I have some users that want to install this but I really don't want to have to enable the my-hacks.php support in 1.2 (want to keep everything up to date).

  15. Mark (podz)
    Support Maven
    Posted 9 years ago #

    It is a plugin already ?
    It's certainly not in my 'my-hacks' any more.

  16. davidchait
    Member
    Posted 9 years ago #

    I worked with one WP user whose site performance tanked when phpGiggle was active. I haven't tried to look through the code, but my guess is on a page with a ton of content (20+ articles, plus comments), it was taking anywhere from 15-20s of processing time. Actually, all inside the_content filter, basically.
    Just FYI.
    -d

  17. Anonymous
    Unregistered
    Posted 9 years ago #

    Ok I a little lost, I did everything, but I am not sure what I am supposed to do it Step 2 of the instructions.

  18. ludvig87
    Member
    Posted 9 years ago #

    I get this error on my site after a upload of both wordpress and phpGiggle
    Warning: Missing argument 1 for giggle_autolink() in /customers/deep-within.dk/deep-within.dk/httpd.www/wp/phpGiggle/phpgiggle.inc.php on line 35
    The code in my index is this:
    <?php giggle_autolink(); ?>
    It comes after
    <?php
    /* Don't remove this line. */
    require('wp/wp-blog-header.php');
    ?>
    <? include("header.php") ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    And then afterwards comes all the coding for that site..
    Where am I going wrong in the installation?

  19. ludvig87
    Member
    Posted 9 years ago #

    anyone??

  20. ludvig87
    Member
    Posted 9 years ago #

    anyone who knows how to fix it??

  21. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Follow the wordpress install instructions, not the standard.
    The code you mention above is not needed.

  22. Anonymous
    Unregistered
    Posted 9 years ago #

    set it to 777

  23. ludvig87
    Member
    Posted 9 years ago #

    I tried and had a look at the wordpress installation file but it said nothing about what code to put in the index file...So I just deleted the code in index and uploaded it.. Weird, the links still worked...
    Is it supposed to be like that??

  24. michan
    Member
    Posted 9 years ago #

    @Anon - Wouldn't that allow everyone else access to the files inside?
    @ludvig87 - There is no code.

  25. bwahahax
    Member
    Posted 9 years ago #

    When I attempt to login to phpGiggle it tells me "You need to login with your User Name and Password". I followed all the steps outlined in the readme, and I know I'm entering the right information. Anyone else have this problem and know how to fix it?

  26. mlieb
    Member
    Posted 9 years ago #

    phpgiggle.inc.php
    line 113
    // just link
    case (eregi("$valid_url_regexp", $giggle_link)?$giggle_link:!$giggle_link):
    $newtext = str_replace($case_sensitive_search_word,"
    $giggle_link ."\">".$case_sensitive_search_word."
    ", $match);
    break;
    I want to add TARGET="_BLANK" to the code above. I don't know PHP well enough to do it right. Thanks ahead of time.
    Mark

  27. ludvig87
    Member
    Posted 9 years ago #

    @ michan - yeah, that is what I found out...
    @ mlieb/mark:
    case (eregi("$valid_url_regexp", $giggle_link)?$giggle_link:!$giggle_link):
    $newtext = str_replace($case_sensitive_search_word,"
    $giggle_link ."\" target="_blank">".$case_sensitive_search_word."", $match);
    break;
    That is how I think the code should look like...

  28. Anonymous
    Unregistered
    Posted 9 years ago #

    I'm trying to use phpGiggle to link between posts, but when I write, for example: "http://nfo.zackdesign.biz/wp/index.php/2004/11/30/bittornado/" what really happens (in the archives) is: "http://nfo.zackdesign.biz/wp/index.php/2004/11/phpGiggle?http://nfo.zackdesign.biz/wp/index.php/2004/11/30/bittornado/"
    and then it loads the front page only. How do I get around this? I've tried writing /bittornado/ only, but that doesn't link at all...

  29. Anonymous
    Unregistered
    Posted 9 years ago #

    Re: previous post
    Look, I really need help with this. It just isn't working... Any ideas anybody?

  30. Beel
    Member
    Posted 9 years ago #

    Looks like a relative vs. absolute link problem but I haven't messed with phpGiggle in a coon's age so I can't help you with the specifics..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.