• TonyBierman

    Updated Release:
    phpGiggle-1.0.2 adds a few features:

    1. Phrase recognition – multiple keyword phrases are now recognizable and automatically linked

    and fixes:

    1. Keywords with apostrophes are now recognized. e.g. phpGiggle’s
    2. Sample my-hacks.php file now uses more flexible pathing for include files
    3. phpgiggle.inc.php uses more flexible pathing for including config.reader.class and phpgiggle.words.txt files
    4. Regexp for keyword matching will now recognize very first and very last word in HTML string if defined as a keyword. This was a bug in previous releases.

    phpGiggle pre-processes HTML before displaying it to the browser, locating user-defined keywords in the HTML string (or plain text for that matter), and subsequently replacing the keywords with anchor tags of user-defined URLs. As well, pre-defined ‘template’ anchor tags are available for Google.com searches or Dictionary.com lookups. phpGiggle takes care that no replacement inside an HTML tags is made, and also avoids matching keywords which were found inside of a pre-existing anchor tag’s text.
    With phpGiggle, web-site vistors’ experiences are enhanced by providing links to dictionary definitions, web searches or user-defined URLs.
    Even better, web content developers are provided with a simple way to link keywords without having to manually create all those anchor tags.
    Download phpGiggle-1.0.2
    Rate This Program
    Tony

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter Anonymous

    Podz and other WordPress users: Thanks for your feedback.
    This new release should fix the issues you were encountering.
    Tony

    Wonderful ??
    Works great – thank you very much for your work ??

    Thread Starter Anonymous

    mtanner,
    That’s a good idea. I think I need a config file to set options like that.
    For now, you’d need to edit some lines in the switch-case statement at the bottom of the giggle_autolink function. You see the href lines in there.
    Tony

    Thread Starter Anonymous

    All,
    Any feedback on phpGiggle’s speed?
    It seems to work pretty damned fast in the testing I’ve done.
    Tony

    I’m not at all complaining, just wondering, will this throw Google out with the increasing number of links appearing in blogs ? Or maybe it could redress some of the spamming stuff ?
    Not quite for this forum I know, but it’s a thought ……

    Thread Starter Anonymous

    mtanner,
    Yep, only the text inside a post. More accurately, only the text WordPress’s ‘the_content’ function renders.
    The my-hacks.php files specifies this behavior through the statement:
    add_filter('the_content', 'giggle_wordpress');
    Tony

    Thread Starter Anonymous

    podz,
    Could you elaborate on your questions? Not quite sure I’m following you’re meaning…
    Tony

    If Google trawls for links, and uses the number of links as an indicator of a site’s popularity, and hence influences it’s search result position (which the comment spammers seem to think works), then by using phpGiggle, a greater number of links will be appearing in blogs.
    More links in blogs therefore will affect Google if it continues with it’s search algorithms.
    Like I said, not a criticism … but it could be used that way ?

    Thread Starter Anonymous

    podz,
    Wow. So you’re suggesting that phpGiggle could affect Google search dynamics? and that blogs using phpGiggle would begin to come-up higher Google search results?
    That would be pretty cool. I would think that an awful lot of bloggers would have to download and install phpGiggle for that to happen..
    Where does WordPress rank in populariry as far as web blog software goes?
    Anyone have any idea?
    Tony

    I’m not sure if the blogs would, but certainly I’d say that if I linked one website of mine – https://www.abody.co.uk – a whole lot, (say I mentioned it in a post everyday) it certainly couldn’t harm it could it ? Previously, I’ve just typed ‘abody’ which Google would just see as a word, but now it would see the hyperlink too.
    I don’t know huge amounts about this, but as Google counts a link to a site as a plus, then more links = more pluses … unless I’m wrong on this ?

    Thread Starter Anonymous

    podz,
    It has been my understanding that Google works in the very way you describe. I attended a keynote from Google’s CEO at LinuxWorld a few years ago where he said essentially the same thing about how Google rates pages.
    Do you plan on using phpGiggle for https://www.abody.co.uk ?
    Surely phpGiggle can’t be the first program to dynamically generate hypertags in this manner.
    Do you thinks there are actually that many sites which would be interested in using phpGiggle?
    I guess the hotscripts.com posting as been getting a lot of hits… but damn.. enough installations to affect Google? That would rock.
    Tony

    Thread Starter Anonymous

    mtanner,
    place the larger phrases first in your words file. e.g.:

    Comedy_Central= https://comedycentral.com
    comedy = https://comedy.com

    In this manner, comedy central will always be matched before comedy. Hope this answers your question.
    Regarding user comments, let me take a look at the wordpress hacks api and see whats possible.
    Tony

    Thread Starter Anonymous

    mtanner,
    Regarding the use of phpGiggle for WordPress comments, add this line to your my-hacks.php:
    add_filter(‘comment_text’, ‘giggle_wordpress’);
    I’ll incorporate this addition in the next release.
    Tony

    Very nice hack, but it can’t deal with Non-Latin character sets (Hebrew etc). Can you adopt it for World-wide use?

    Tony,
    I don’t plan on using it for abody particularly (it’s a local bodyart studio so the ‘catchment area’ is quite small) but the implications are, like you say, interesting…..
    I wonder how long it will be before someone writes a similar hack for MT …. and what impact that will have..?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘phpGiggle-1.0.2 Updated Release’ is closed to new replies.