Skip to content

Instantly share code, notes, and snippets.

@symac

symac/bplus.php

Created Oct 12, 2016
Embed
What would you like to do?
<?php
$url_bplus = "http://babordplus.univ-bordeaux.fr/notice.php?q=provenance:PPN".$ppn."&spec_expand=1&start=0&ct=bx3_alone&ce={UAI}0331766R";
$page = file_get_html($url_bplus); # Fonction dispo dans http://simplehtmldom.sourceforge.net/
$notice = $page->find("div[class=sid-result-notice] div[class=sid-infos]", 0);
if ($notice == "")
{
print "Pas de notice dans B+ pour $ppn [$record_id]\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.