Recent Posts (single dropdown) XHTML errors

Forums Forums Menus Recent Posts (single dropdown) XHTML errors

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1162
    wander
    Member

    Wordpress 2.9.1 / MLNP2.2.1
    It appears that by inserting the menu
    Recent Posts (single dropdown)
    http://www.stoneliquidation.com
    causes 6 new xhtml errors.
    Sorry I can’t be more specific.

    [code:3h23g4nw]#

        * Line 188, column > 80: XML Parsing Error: Opening and ending tag mismatch: li line 188 and ul

          … href="http://www.stoneliquidation.com/elfin-lakes-051209/1230">Elfin Lakes 0…

        * Line 189, column 7: XML Parsing Error: Opening and ending tag mismatch: ul line 133 and div

          </div>

        * Line 791, column 7: XML Parsing Error: Opening and ending tag mismatch: div line 122 and body

          </body>

        * Line 792, column 7: XML Parsing Error: Opening and ending tag mismatch: body line 120 and html

          </html>

        * Line 792, column 8: XML Parsing Error: Premature end of data in tag html line 3

          </html>

    # Error end tag for X omitted, but OMITTAG NO was specified

    ✉

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

        * Line 188, column 841: end tag for "li" omitted, but OMITTAG NO was specified

          …dsay Lake 11/10/09</a></li></ul></ul>

    [/code:3h23g4nw]

    #7497

    That’s weird. Sounds like a bug in the plugin.

    If upgrading to the PixoPoint Menu plugin doesn’t fix it (which I suggested in your other topic) I’ll get it fixed ASAP for you.

    I’m building a converter for moving sites from the Multi-level navigation plugin to the PixoPoint menu plugin right now so I probably won’t be fixing it if it’s just a bug in that plugin.

    #7498
    wander
    Member

    So, I installed pixopoint. I get the same errors, only with that chunk of menu on.

    [code:3pl5v8s3]<li class="recentposts haschildren"><a href="">Recent Reports</a><ul><li><a href="http://www.stoneliquidation.com/elfin-lakes-051209/1230">Elfin Lakes 05/12/09</a></li><li><a href="http://www.stoneliquidation.com/hollyburn-peak-051209/1228">Hollyburn Peak 05/12/09</a></li><li><a href="http://www.stoneliquidation.com/hollyburn-peak-221109/1190">Hollyburn Peak 22/11/09</a></li><li><a href="http://www.stoneliquidation.com/dog-mountain-151109/1181">Dog Mountain 15/11/09</a></li><li><a href="http://www.stoneliquidation.com/mt-harvey-121109/1177">Mt Harvey 12/11/09</a></li><li><a href="http://www.stoneliquidation.com/the-chief-011109/1147">The Chief 01/11/09</a></li><li><a href="http://www.stoneliquidation.com/zoa-peak-241009/1143">Zoa Peak 24/10/09</a></li><li><a href="http://www.stoneliquidation.com/lindsay-lake-111009/1132">Lindsay Lake 11/10/09</a></li><li><a href="http://www.stoneliquidation.com/eagle-bluffs-101009/1130">Eagle Bluffs 10/10/09</a></li><li><a href="http://www.stoneliquidation.com/first-brigade-trail-100909/1140">First Brigade Trail 10/09/09</a></li></ul><li class="categories haschildren"><a href="">Trip Reports</a><ul><li class="cat-item cat-item-3"><a href="http://www.stoneliquidation.com/activities/backcountry-ski" >Backcountry ski</a>
    </li>

    <li class="cat-item cat-item-4"><a href="http://www.stoneliquidation.com/activities/backpacking" >Backpacking</a>
    </li>
    <li class="cat-item cat-item-8"><a href="http://www.stoneliquidation.com/activities/courses" >Courses</a>
    </li>
    <li class="cat-item cat-item-5"><a href="http://www.stoneliquidation.com/activities/cycle-touring" >Cycle touring</a>
    </li>
    <li class="cat-item cat-item-6"><a href="http://www.stoneliquidation.com/activities/day-hike" >Day hike</a>
    </li>
    <li class="cat-item cat-item-7"><a href="http://www.stoneliquidation.com/activities/kayak-and-canoe" >Kayak and Canoe</a>
    </li>
    <li class="cat-item cat-item-12"><a href="http://www.stoneliquidation.com/activities/scramble" >Scramble</a>

    </li>
    <li class="cat-item cat-item-13"><a href="http://www.stoneliquidation.com/activities/snowshoe" >Snowshoe</a>
    </li>
    </ul></li>[/code:3pl5v8s3]

    #7499

    Darn. It’s missing the </li> tag <img decoding=” title=”Sad” />

    I’ll look into it. I have too much paid work on it right now so can’t fix this immediately unfortunately, but I’ll get on to it as soon as I can.

    If I haven’t replied within a day or two, feel free to pester me about this as I may have forgotten.

    #7500
    wander
    Member

    sure enough.
    core.php line 419
    wrong echo ‘</ul>’;
    correct echo ‘</ul></li>’;

    #7501

    Cool <img decoding=” title=”Smiley” /> Thanks for that. If I can get that working in the next few minutes I’ll upload a new version straight away for you.

    #7502

    Awesome! That worked perfectly <img decoding=” title=”Cheesy” /> Thanks very much for providing the bug fix for me!

    If you post back with a link and a name I’ll happily add them as credits in the plugin if you like.

    The new version should be available in the repository shortly … http://wordpress.org/extend/plugins/pixopoint-menu/

    #7503

    It sure does make fixing bugs a lot easier when users find the solution for me <img decoding=” title=”Smiley” />

    #7504
    wander
    Member

    Glad to help. It is a very good comprehensive plugin you have provided.

    John Asbacher
    http://www.shootedit.com

    #7505

    I put a bunch of changes into my current test version which will allow the likes of yourself to write custom plugins to fix these types of things. Obviously changes like this need to go into core, but if I was lazy and not available then this would allow you to fix it yourself. And more importantly, it will allow you to create new custom menu items.

    Most users of the plugin don’t know enough (anything?) about coding, so won’t be able to make use of it. But I release it, you should take a look at how it works if you have a use for a little more control over how the plugin works.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.