Person without biography in this Series

Discuss using and your tips/tricks for BookCAT
Post Reply
User avatar
Alex Ivanovich
Posts: 295
Joined: Mon Sep 07, 2015 2:24 pm
Location: Russian - Italia

Person without biography in this Series

Post by Alex Ivanovich » Tue Nov 17, 2015 6:53 pm

I have this code and it works to alert as many person have no biography in the entire database

Code: Select all

<!-- Warning author without biography -->
	<a href="PersonList.xsl?person.biography=@xslparam:templatefile=Person.xsl?Name@sqldistinct=Person.SortBy, Person.PersonID@xslparam:doctitle=Authors without a biography@validate=yes,1" target="_blank">
        <span style="text-align:center;background-color:red;color:white;font-weight:bold;font-size:normal">
		Crediti senza biografia </span><xsl:text>&#160;</xsl:text> (<b>##CMD:COUNT:person,biography=##</b>) <xsl:text>&#160;</xsl:text><img class="index_image" src="user_male_delete2.png"/>
		
    </a>
    <!-- Warning author without biography -->
and you can also get the code to tell how many person are no biography in this Series, with counting

and possible?

Thanks for your help

User avatar
LotsOCds
Posts: 177
Joined: Thu Aug 20, 2015 4:23 am
Location: California, USA

Re: Person without biography in this Series

Post by LotsOCds » Tue Nov 17, 2015 9:47 pm

No, because the necessary information about the other books in the series does not exist in the XML generated for BookBrowse.xsl.
Cheers,
Dave

User avatar
Alex Ivanovich
Posts: 295
Joined: Mon Sep 07, 2015 2:24 pm
Location: Russian - Italia

Re: Person without biography in this Series

Post by Alex Ivanovich » Wed Nov 18, 2015 12:11 pm

LotsOCds wrote:No, because the necessary information about the other books in the series does not exist in the XML generated for BookBrowse.xsl.
ok,
Dave thanks for the explanation

Post Reply