Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url live preview not working #25

Open
rajkumarbj opened this issue Jun 14, 2017 · 7 comments
Open

url live preview not working #25

rajkumarbj opened this issue Jun 14, 2017 · 7 comments

Comments

@rajkumarbj
Copy link

rajkumarbj commented Jun 14, 2017

url live preview not working now,before its giving video preview and all other url preview .now its not working .same code i am using which i have used first.

@rajkumarbj
Copy link
Author

plugins are not working sir

@comunicantevisual
Copy link

comunicantevisual commented Jul 8, 2017

Hello, looks like yahoo yql stop html database on july, so now it doesn´t work, but i made some changes at the plugin and now it´s working, first on line 173 i change:

`var query  =  'select * from html where url="' + url + '" and compat="html5" and xpath="'+xpath+'"';`

for:

 `var query  =  'select * from htmlstring where url="' + url + '"';`

on line 229 change:

$(data, '<head>').find('title').each(function() 

for:

result_text=$(data).find('result').text();                        
result_text2=$.parseXML(result_text);
$xml = $(result_text2);
$xml.find('head').find('title').each( function()

on line 238:

$(data, '<head>').find('meta').each(function() 

for:

$xml.find('head').find('meta').each( function()

on line 246:

[$(data, '<body>').find('p').each(function() 

for:

$xml.find('body').find('p').each( function()

on line 260:

var images = $(data, '<body>').find('img');

for:

var images = $xml.find('img');

I hope it helps.

@rajkumarbj
Copy link
Author

rajkumarbj commented Jul 10, 2017 via email

@rajkumarbj
Copy link
Author

rajkumarbj commented Jul 10, 2017 via email

@comunicantevisual
Copy link

comunicantevisual commented Jul 18, 2017

Hello, i'll share you my file zipped, please check if it works for you
jquery.liveurl.zip

Sorry for the delay to answer

I hope it works

@rajkumarbj
Copy link
Author

rajkumarbj commented Jul 19, 2017 via email

@sachin151189
Copy link

hello sir,
again url live preview not working now,before its giving iamge and descirption preview and all other url preview .now its not working

Failed to load resource: the server responded with a status of 400 (OK)
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20htmlstring%20where%20url%3D%22https%3A%2F%2Fwww.createonlineacademy.com%2Fuu%22&format=xml&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=&_=1503565384972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants