WordPress.org

Ready to get started?Download WordPress

Forums

VéritéCo Timeline
PARSING DATA ERROR (12 posts)

  1. wapak
    Member
    Posted 2 years ago #

    Was working for the past week, now all it shows is
    "PARSING DATA"

    http://wordpress.org/extend/plugins/timeline-verite-shortcode/

  2. Miguel Peixe
    Member
    Plugin Author

    Posted 2 years ago #

    Are you using JSON or Google Spreadsheet? Can you send the source so I can take a look?

  3. wapak
    Member
    Posted 2 years ago #

    Google spreadsheet.

    Uploaded latest 0.9.7 Same error

    What's your email?

  4. Miguel Peixe
    Member
    Plugin Author

    Posted 2 years ago #

  5. wapak
    Member
    Posted 2 years ago #

    Hello Miguel, did you get the spreadsheet invite?

  6. spencerwestwood
    Member
    Posted 2 years ago #

    I've found that the js files are out of date to the actual version on-line. It therefore
    uses a new google spreadsheet format.

    Go to http://timeline.verite.co/, download the latest version (or grab from github) and
    replace the js/timeline*.js files in the plugin subdirectory.

  7. highco
    Member
    Posted 2 years ago #

    using the plugin with wordpress 3.4.1., i also get the parsing error.

  8. tsturgell
    Member
    Posted 2 years ago #

    I was getting the error and searching for an answer with no luck. I went back and republished and then when I added the link to the EMBED GENERATOR, I did NOT click the wordpress plugin. Then I just copied the embed code onto the widget and it is working fine. Only up for a few hours so I'll give an update if it stops working.

  9. arunkw
    Member
    Posted 2 years ago #

    Thanks a million spencerwestwood I replace the files which you suggested and it is working now :)

  10. ffrw2011
    Member
    Posted 1 year ago #

    Im trying also to include the code in a wordpress post but all I get is parsing data again an again.

    But when I use the iframe method it shows it quite well.

    It would work for me but i need to be able to access the css file so as to personalize the timeline a bit.

    What am I doing wrong ?

    [timeline font='BreeSerif-OpenSans' lang='es' src='https://docs.google.com/spreadsheet/pub?key=0Ag0msRI0zk5_dE92WS1ycGI5SnQyMlpYTFFHa1NidFE&single=true&gid=0&output=html' start_at_end='true' ]

  11. jpmolla
    Member
    Posted 1 year ago #

    Well I had exactly the same problem. I am not pleased of replacing the JS files directly because I am not sure that tomorrow things will not change again in the Google API. So, why not using just the iframe statement without the wordpress extension ? As soon as something change they will update their extension, right ?
    Here is what I have done and it works very well for me : I uninstall the VéritéCo extension and implement a shortcode function to mimic the extension. Following is the code I have add in my functions.php file

    // Shortcode to use with the iframe of VéritéCo Timeline
    function timeline_shortcode( $atts, $content = null ) {
    	extract( shortcode_atts( array(
    			 'src' => '',
    			 'font' => 'Bevan-PotanoSans',
    			 'lang' => 'en',
    			 'width' => '100%',
    			 'height' => '650',
    			), $atts ) );
    	return "
    	<iframe src='" . $src . "&font=" . $font . "&maptype=toner&lang=" . $lang . "' width='" . $width . "' height='" . $height . "' frameborder='0'></iframe>
    	";
    }
    add_shortcode( 'timeline', 'timeline_shortcode' );

    Then, I use it like as usually :

    [timeline font='BreeSerif-OpenSans' lang='fr' src='http://embed.verite.co/timeline/?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE' ]

    Not all the cases are included in the function but that is sufficient for my needs. If someone improves this function, maybe can you share it ? :-)

  12. bigevent
    Member
    Posted 1 year ago #

    Just for the record. I find a way to solve this problem.

    Go to the website below.

    https://github.com/VeriteCo/TimelineJS

    Copy and upload files under folder called "compiled" to "wp-content/plugins/timeline-verite-shortcode".

    And follow the instruction in the website. I used the method below.

    https://github.com/VeriteCo/TimelineJS#using-inline-easiest

    I copied the code in the post.

    You should deactivate the plugin in your website. I don't know why but it does not work when the plugin is activated in your website.

    Hope it works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic