Hi,

I've been working on our faculty pages and have been trying to figure out how to display the list of their publications. I was able to sort things out using:

biblio_db_search("inline","author", $member_data->field_name_last);

Within a template -- however, some faculty have the same last name. So, I've been trying to figure out how to uniquely identify each publication for the purposes of a faculty "home page" listing all the publications associated with them. I thought maybe if I could use the node table, searching on node.uid and node.type=biblio, then I might be able to get a unique list of the entries for the user who created those biblio entries.

However, I'm not sure if it's possible to use a function like biblio_db_search, or some other function where I can input the node uid and get the results back the results of a biblio list. Would that be possible? Is there another way to uniquely identify the biblio entries for a given author?

It seems so many of the citations are using the author form of "Last name, First Initial" and it's hard to get a unique list based on that. I appreciate the module, it's been really useful at our university.

Regards,
Eric Carter

Comments

rjerome’s picture

Uniquely identifiying authors has been an on going problem, one which I hope will be addressed in the 6.x version by the use of a separate table for authors which will differentiate between 10 different "Smith, J" entries. As it stands now, there is now way to incorporate the UID into the search, but it should be possible, let me give it a try.

Ron.

rjerome’s picture

OK, it's done in the -dev version.

You can now do something like this... biblio_db_search("inline","author", $member_data->field_name_last,"uid",$user->uid);

Which will get all the entries where the author field contains $member_data->field_name_last AND it was created by $user->uid

Ron.

ecarter’s picture

Wow, thanks Ron! That was quick. I appreciate it.

Eric

rjerome’s picture

Status: Active » Closed (fixed)
lancast’s picture

Status: Closed (fixed) » Active

Hi, we are having a similar problem, but the dev version didn't fix it. On our site, we have a faculty member named White (C. White). When we search for author White, it also pulls up biblio entries for another faculty member who had a co-author named White (M. White - not a faculty member)- different authors named White.

In addition, if we have multiple faculty members listed as authors of a biblio entry, we give drupal "authorship" of that entry to the first listed author that is a member of our faculty so that the primary author may edit the entry if needed. This is because we did a bulk upload of 2500 biblio entries from an Endnote file, then ran sql commands to tweak ownership. So we may have 2 or more authors (authors A and B for instance) for a biblio entry that have uids, but we also want to be able to filter so that only B's listings show up. This is where "get all the entries where the author field contains $member_data->field_name_last AND it was created by $user->uid" won't work for us because the entry may not have been created by that uid.

I know this is dense, but basically we just want to be able to list only those biblio entries that actually come from a certain author, whether or not they are the primary author and whether or not they have an account on our site.

We really like the biblio module - it was just what we needed for our College site!
Thanks,
Cindy

catdevrandom’s picture

Status: Active » Closed (fixed)