5 Comments

  1. David Martin
    Posted July 30, 2012 at 8:43 am | Permalink

    It’s not working for me… I have hashtags with Unicode characters that don’t seem to be recognised by (\w+) in line 268

    Try “#poesía?” or “#Informática”

    David

  2. Chris Gagne
    Posted July 30, 2012 at 8:05 pm | Permalink

    Hi David,

    I think you found another edge case! :) From what I’ve seen online it appears that PHP’s behavior for matching \w may be locale/server/character-encoding specific. Rather than dig too far into that can of worms, I found it easier to just let the preg_replace act a bit more permissively.

    Replace “(\w+)” on line 268 with “([\p{L}_\d]+)”. Adjust that last one as you see fit. This isn’t perfect as hash tags don’t appear to “legally” start with numbers, but numbers seem perfectly reasonable to search for and it does work. Have fun!

  3. Posted August 9, 2012 at 7:53 am | Permalink

    The link below your HL twitter sidebar widget, “View more tweets” does not work. It also does not work for me on my site. How can we get this working?

  4. Chris Gagne
    Posted August 13, 2012 at 10:15 am | Permalink

    Hi James, try this: 1. Change your permalink settings, click Save, then change them back and click Save again. Then, deactivate and reactivate the HL Twitter plugin. That just did the trick for me.

  5. Posted February 14, 2013 at 5:25 pm | Permalink

    Thank you Chris, that was very helpful.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">