We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Link List module not outputting valid (X)HTML

Development and Programming

Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

I get the following error when I run my link list entries through the validator:

ine 262, Column 45: cannot generate system identifier for general entity "urlid".
<li><a href="http://thedalzells.org//?ACT=27&urlid=1">Muddylaces</a></li>
✉
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.

Any ideas on if this is fixable?

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

Wow, what fun that journey was!

I finally got it working, though my solution feels quite hacky.

I use the Find & Replace plugin to remove the ‘&’ and replace it with ‘&’.

I really wish there was a way to get the LL module to output valid XHTML.

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Have you tried emailing Yoshi? I think he was the person who developed that module. He could likely fix it at the source for you.

Jamie

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

I can’t remember if I did or not. I will send him an email referencing this thread.

Thanks

       
Yoshi's avatar
Yoshi
39 posts
17 years ago
Yoshi's avatar Yoshi

Hmm I guess since my forums are down right now, no one can post to it for support. I’ll have to bring them back up. not sure why i even took it down actually.

I guess i’ll fix the counting url to use the ampersand properly.

this is the first time anyone’s brought this problem to me.

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

Might I also recommend an email address in your module so that people can contact you?

p.s. Thanks for fixing it.

       
Yoshi's avatar
Yoshi
39 posts
17 years ago
Yoshi's avatar Yoshi

Well, I guess I need to update the documentation to go to the right URL’s. It’s been so long since I’ve even looked at this module, things have changed quite a bit.

for now you can download the updated module, but i suspect it’s no different than what you’ve done by replacing the & with & amp;. That’s all that I really did.

I’ve opened up the forums again, so you could also go in there.

For now, psychodaisy.com is now haroblogger.com. it changed a while back, and I totally forgot to change any documentation in my plugins and modules.

I’ll have to fix that.

but here’s a direct link for the download:

http://haroblogger.com/images/uploads/ee.mod.linklist.v1.2.1.zip

I’ll have to go through and make sure the code is up to par for the programming standards for EE too, so i’ll update the docs appropriately.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.