Jump to content

epogue

Member
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by epogue

  1. Hi there,

     

    I can't seem to get the AppID to register. Every time I try to input the ID I get from the WA website it tries to validate and then keeps returning the message "xxxxx-xxxxxxxxx" Is Not A Valid AppID.

     

    Anyone else having this problem? 

     

    Yep, I'm having the same problem.

  2. Could you explain exactly what I should do for this second part? (please excuse my ignorance  ^_^ )

     

     

    It's no problem. :P On line 30 in extension_utils.php, replace $c->addChild( $key, $b[$key] ); with

    $c->$key = $b[$key];

     

     

    Then, in search.php, on lines 38 - 41, remove the methods (utf8_encode and htmlentities) wrapping the attribute calls. For instance, instead of 'uid' => utf8_encode ( htmlentities ( $bookmark->url ) ), it should read:

    'uid' => $bookmark->url,
  3. I found a possible fix that seems to be holding up to whatever weird entities I throw at it. I looked it up, and apparently SimpleXML will automatically do all the escaping it needs when using the assignment operator instead of addChild. Therefore, I tweaked the arrayToXml() function in extension_utils, replacing:

     

    $c->addChild( $key, $b[$key] );

     

    with:

     

    $c->$key = $b[$key];

     

    and deleted the wrapping utf8_encode(htmlentities()) calls in search.php.

     

    Hope this works for you guys!

×
×
  • Create New...