I was trying to get a xhtml output from the wassup widget: validation fails only if I check last search referers. WHen search referers is disabled my site validates. Any idea?
wassup widgets and referers
(9 posts) (2 voices)-
Posted 4 years ago #
-
There isn't anything in the TOP Searches different from the TOP Referers (excluding the data type). It's quite strange, please could you post the error validation result with the TOP searches active?
Thank youPosted 4 years ago # -
Now I've reactivated the "Last referers" option and the page validates...strange, yesterday it did not.
Let me test it for a while again...maybe it happens with a particular type of urls. I remember the error reported was about something about "strange" characters in the urls inside the Last referers widget. If it happens again I'll copy the particular error and the html code that doesn't validate.Posted 4 years ago # -
Sorry, I've made a little of confusion between "last external referers" and "last search referers". I thought it was the same thing... ^^ Now I've tested a little more the plugin and it's NOT the "LAST EXTERNAL REFERERS" section that doesn't validate but the "LAST SEARCH REFERERS" one.
This is what validator says: (validator suggests also "The most common cause of this error is unencoded ampersands in URLs")"...Line 454, Column 181: cannot generate system identifier for general entity "q".
…f='http://www.google.it/search?hl=it&q=tennista+indiana+ombelico&meta=' targe... "
"...Line 454, Column 181: general entity "q" not defined and no default entity.
…f='http://www.google.it/search?hl=it&q=tennista+indiana+ombelico&meta=' targe..."
"...Line 454, Column 182: reference not terminated by REFC delimiter.
…='http://www.google.it/search?hl=it&q=tennista+indiana+ombelico&meta=' target..."
"...Line 454, Column 182: reference to external entity in attribute value.
…='http://www.google.it/search?hl=it&q=tennista+indiana+ombelico&meta=' target..."
"...Line 454, Column 180: entity was defined here.
…ef='http://www.google.it/search?hl=it&q=tennista+indiana+ombelico&meta=' targ..."
"...Line 454, Column 209: cannot generate system identifier for general entity "meta".
…ch?hl=it&q=tennista+indiana+ombelico&meta=' target='_BLANK'>tennista indiana ..."
"...Line 454, Column 209: general entity "meta" not defined and no default entity.
…ch?hl=it&q=tennista+indiana+ombelico&meta=' target='_BLANK'>tennista indiana..."
and the errors replicates for every top search entry...
Posted 4 years ago # -
Ok, I found the problem and fixed it. The fix will be available in the next version.
Thank you very muchPS
You can get the svn code to fix immediately it, http://trac.wpwp.orgPosted 4 years ago # -
Great! Thanks, I'll test it right now...if I understand how to download the trunk version
;)Posted 4 years ago # -
You have to use a SVN tool with the following command:
svn co svn://svn.wpwp.org/var/svn/wassup/trunk wassup
Or you could get the file "wassup.php" here: http://trac.wpwp.org/browser/trunk/wassup.php?format=raw
Overwrite it in your "plugins/wassup" directoryPosted 4 years ago # -
thanks again, I'm going to take the wassup.php directly and I'll report my feedback soon ^^
Posted 4 years ago # -
I confirm that now links generated by "LAST SEARCH REFERERS" are full xhtml-compliant.
Nice work !Posted 4 years ago #
Reply
You must log in to post.