2013/5/1 TNHarris <telliamed@xxxxxxxxxxxxx>: > On Wednesday, May 01, 2013 07:58:28 AM Mark Prins wrote: >> Hi, >> I've been trying to get my plugin to update or write the metadata >> entry for ['relation']['firstimage'] but so far it's ending up with an >> empty value, so my best guess at the moment is that DW (adora belle) >> overwrites it somewhere after I touch it and it gets erased. Other >> metadata that is updated in the same procedure is stored just fine. > > There is a $renderer->_firstimage($src) in the metadata renderer. I don't know > how dangeround it is to use, but probably no less so than _xmlEntities. I settled for calling the "public" internalmedia() function, eg: $renderer->internalmedia($src, $title); which calls $renderer->_firstimage($src) that seems to work half of the time. thanx, Mark -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand. -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist