This plugin prints the xml snippet that bk.getmetadata() returns, prints the soup made from that snippet, adds the dc:language entry if not present, serializes the soup and prints the results, then ultimately writes the xml snippet back with bk.setmetadata().
You'll note that at no point in the process do any html or body tags get added.
Last edited by DiapDealer; 08-08-2019 at 11:58 AM.
|