View Single Post
Old 10-29-2018, 04:27 PM   #1671
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Update:

Skipping display of empty custom columns was a pleasantly trivial fix. Updated templates are attached.


As for HTML comments, it looks like the code specifically looks for div, p, a or span tags.

So something like this will work:
Code:
<div class="description">Published: 2018-10-29 Chapters: 1/? Words: 12345<br><br><b>Summary</b><br>Summary here.<br><br><b>Author Notes</b><br>Author notes here.</div>
but this will not:
Code:
Published: 2018-10-29 Chapters: 1/? Words: 12345<br><br><b>Summary</b><br>Summary here.<br><br><b>Author Notes</b><br>Author notes here.
My fix is to discard the <div|p|a|span> check and treat comments as HTML always. Obviously, that could break stuff for others so I'm not going to bother uploading my changes.


I also managed to add urls to custom columns. Alas, the way I did it was probably not the recommended/standardized way. As I expected, returning multiple values for tag-like custom columns would be difficult for me to code.
Attached Files
File Type: zip cops-mod.zip (4.7 KB, 239 views)
ilovejedd is offline   Reply With Quote