{"action":"created","issue":{"url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/issues/47","repository_url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation","labels_url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/issues/47/comments","events_url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/issues/47/events","html_url":"https://github.com/esturdivant-usgs/science-base-automation/issues/47","id":389379571,"node_id":"MDU6SXNzdWUzODkzNzk1NzE=","number":47,"title":"Browse graphic improvements and problems","user":{"login":"esturdivant-usgs","id":22688320,"node_id":"MDQ6VXNlcjIyNjg4MzIw","avatar_url":"https://avatars2.githubusercontent.com/u/22688320?v=4","gravatar_id":"","url":"https://api.github.com/users/esturdivant-usgs","html_url":"https://github.com/esturdivant-usgs","followers_url":"https://api.github.com/users/esturdivant-usgs/followers","following_url":"https://api.github.com/users/esturdivant-usgs/following{/other_user}","gists_url":"https://api.github.com/users/esturdivant-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/esturdivant-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esturdivant-usgs/subscriptions","organizations_url":"https://api.github.com/users/esturdivant-usgs/orgs","repos_url":"https://api.github.com/users/esturdivant-usgs/repos","events_url":"https://api.github.com/users/esturdivant-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/esturdivant-usgs/received_events","type":"User","site_admin":false},"labels":[{"id":1157144093,"node_id":"MDU6TGFiZWwxMTU3MTQ0MDkz","url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/labels/Priority","name":"Priority","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-10T16:24:57Z","updated_at":"2019-06-17T19:47:34Z","closed_at":null,"author_association":"OWNER","body":"Allow the user to specify the search terms for the metadata xml and the browse graphic. That would require changes to the following functions: upload_all_previewImages(), the xml for loop in sb_automation.py under the update_xml condition. "},"comment":{"url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/issues/comments/502824745","html_url":"https://github.com/esturdivant-usgs/science-base-automation/issues/47#issuecomment-502824745","issue_url":"https://api.github.com/repos/esturdivant-usgs/science-base-automation/issues/47","id":502824745,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMjgyNDc0NQ==","user":{"login":"esturdivant-usgs","id":22688320,"node_id":"MDQ6VXNlcjIyNjg4MzIw","avatar_url":"https://avatars2.githubusercontent.com/u/22688320?v=4","gravatar_id":"","url":"https://api.github.com/users/esturdivant-usgs","html_url":"https://github.com/esturdivant-usgs","followers_url":"https://api.github.com/users/esturdivant-usgs/followers","following_url":"https://api.github.com/users/esturdivant-usgs/following{/other_user}","gists_url":"https://api.github.com/users/esturdivant-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/esturdivant-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esturdivant-usgs/subscriptions","organizations_url":"https://api.github.com/users/esturdivant-usgs/orgs","repos_url":"https://api.github.com/users/esturdivant-usgs/repos","events_url":"https://api.github.com/users/esturdivant-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/esturdivant-usgs/received_events","type":"User","site_admin":false},"created_at":"2019-06-17T19:47:34Z","updated_at":"2019-06-17T19:47:34Z","author_association":"OWNER","body":"I want to make a function to get the browse graphic URL from the sb json and add it to the metadata.\r\n\r\nThe browse graphic on rock14_SupClas... includes a title. Putting aside how it got a title, since that's not something I include in my script, where is the title in the sb json? \r\n\r\nIt is in both data_item['previewImage']['small']['title'] and data_item['previewImage']['thumbnail']['title']. \r\n\r\nI tried changing the thumbnail title, updating the item, and viewing the result: no change.\r\nI tried changing the small title, updating the item, and viewing the result: no change.\r\nI tried changing both: no change.\r\n\r\nIf the URL is correctly included in the XML, then will the SB item grab the title?\r\n\r\nBrowse file names should match this regex: '^.*browse.*\\.(png|gif|jpg)$'\r\n"}}
{"actor":{"display_login":"esturdivant-usgs"}}