seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

URL field as hyperlink? #463

Open horus68 opened 4 years ago

horus68 commented 4 years ago

I have a Calibre custom column to act as a hyperlink to a social library page for comments. Type: Text long (act like short text, as a title). I'm able to display the custom column on COPS details page but I would want the field to be used as an hyperlink so users could click on it (with a _blank target). Is that possible using COPS?

horus68 commented 4 years ago

I have found a workaround for this

1- In Calibre Create a custom column (Preferences -> Custom Columns) 2- For - Column Type: "Long text, like comments, not show in the Tag Browsers" 3- For - Interpret this column as: "Plain text formatted using markdown" html_link

4- Restart 5- Edit metadata details for a book 6- In the newly created field insert a value as an html link <a href="https://www.goodreads.com/book/show/48435649 " target="_blank">See reader comments</a>

Notes:

marioscube commented 4 years ago

Cool!!

Something for the wiki to preserve it for others when this "issue" is closed (as solved)? :-)