Adding backtracing to Salmon/Processing workers
This commit is contained in:
parent
27fc49d745
commit
4eba76711b
4 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,8 @@ class UpdateRemoteProfileService < BaseService
|
|||
DFRN_NS = 'http://purl.org/macgirvin/dfrn/1.0'
|
||||
|
||||
def call(xml, account, resubscribe = false)
|
||||
return if xml.nil?
|
||||
|
||||
author_xml = xml.at_xpath('./xmlns:author') || xml.at_xpath('./dfrn:owner', dfrn: DFRN_NS)
|
||||
hub_link = xml.at_xpath('./xmlns:link[@rel="hub"]')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue