Donation Thermometer
[resolved] Broken rss: Undefined item element (4 posts)

  1. lellobot
    Posted 2 years ago #


    Seems like my rss feed has been broken by embedding the donation thermometer in a blog post. I'm embedding the thermometer with

    [wpch_thermometer id="1034" position="right" margin="0"]

    The broken feed: http://www.terawhitimarae.maori.nz/feed/rss2
    The w3 validation report: http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.terawhitimarae.maori.nz%2Ffeed%2F

    Is there any workaround I can do to handle this?




    This feed does not validate.
    line 143, column 10: Undefined item element: input [help]
    <input type="hidden" id="wpch_target_data_value" value="980">

    <input type="hidden" id="wpch_target_data_value" value="980">
           	<input type="hidden" id="wpch_current_data_value" value="678">
                       	<div id="wpch_fend_container" style=" float:right ">
                                               <h3 style="margin-left:50px;display:none">200 Dessert Bowls</h3>
    <div id="wpch_image_indicator_fend">
    <h3 id="wpch_header_txt" style="display:none">No Header Text</h3>
    <p id="wpch_target_value" style="display:none">$980.00</p>
    <img id="wpch_therm_img" src="http://www.terawhitimarae.maori.nz/wordpress/wp-content/plugins/charitydonation-thermometer/css/images/Thermometer.png"	 />
    <canvas id="thermometer" class="wpch_thermometer_canvas" width="200" height="416"></canvas>
    <p id="wpch_cti_img" style="">$678.00</p>
    <p id="wpch_curr-symbol_fend" style="">$</p>
    <h3 id="wpch_footer_txt" style="clear:both;display:none">No Footer Text</h3>

    Any suggestions?


  2. henryp
    Plugin Author

    Posted 2 years ago #

    Do you still get a problem if you use the shortcode correctly..i.e [thermometer raised=893 target=1000 align=right]?

    The only parameters allowed in the shortcode are: 'width', 'height', 'align', 'target', 'raised', 'alt' and 'currency'.

  3. lellobot
    Posted 2 years ago #


    I just copied the shortcode from the Edit Thermometer page. It says this:

    Position Left : [wpch_thermometer id="1034" position="left"]

    Position Right : [wpch_thermometer id="1034" position="right"]

    Additionally when using the position='none' set the attribute "margin" to position your Thermometer accordingly.

    Position None : [wpch_thermometer id="1034" position="none" margin="0"]

    Note : put the attribute for the scale, like px like so... margin="2px 5px 0 0"
    This is only applicable to shortcode generated when you create a thermometer.
    The single post for the custom_post_type of this is always positioned right.
    Indicate the target and current to make the thermometer draw the red line .

  4. henryp
    Plugin Author

    Posted 2 years ago #

    Ok, there's a bit of confusion here. You've tagged my plugin on this post, which isn't the one you are having problems with. Feel free to try my 'Donation Thermometer' though - easy to embed on posts!


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.