html in "View script log" window

Want something added? Ask for it here.
Post Reply
Eelisland
Newbie
Newbie
Posts: 13
Joined: September 2nd, 2013, 1:51 pm
Location: France

html in "View script log" window

Post by Eelisland »

Hello,

Is it possible to add html support in the "View script log" window, i want to echo web page link and poster from The Movie DB ? It can look nice if we where able to echo also in the main window a little picture thumbnail from the file if found on an api site :)

Image

Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: html in "View script log" window

Post by shypike »

Maybe, I'll look into it.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: html in "View script log" window

Post by jcfp »

The current output looks like text-only because it's inside <pre></pre>. You may be able to use html by simply having your script start by outputting an </pre> followed by html of your choice (and reopening that <pre> at the very end to keep the syntax of the page correct). Untested but worth the try....
Eelisland
Newbie
Newbie
Posts: 13
Joined: September 2nd, 2013, 1:51 pm
Location: France

Re: html in "View script log" window

Post by Eelisland »

Hello Shypike,

Thank for your feedback.


jcfp,

Thanks for the tip, in my screenshot it's only bash echo, but i'll try in a few days with closing pre and ré opening at the end :)
Post Reply