{"action":"created","issue":{"url":"https://api.github.com/repos/jvanasco/metadata_parser/issues/6","labels_url":"https://api.github.com/repos/jvanasco/metadata_parser/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jvanasco/metadata_parser/issues/6/comments","events_url":"https://api.github.com/repos/jvanasco/metadata_parser/issues/6/events","html_url":"https://github.com/jvanasco/metadata_parser/issues/6","id":98665705,"number":6,"title":"get_field function? in MetadaParser","user":{"login":"WeaverStever","id":13617914,"avatar_url":"https://avatars.githubusercontent.com/u/13617914?v=3","gravatar_id":"","url":"https://api.github.com/users/WeaverStever","html_url":"https://github.com/WeaverStever","followers_url":"https://api.github.com/users/WeaverStever/followers","following_url":"https://api.github.com/users/WeaverStever/following{/other_user}","gists_url":"https://api.github.com/users/WeaverStever/gists{/gist_id}","starred_url":"https://api.github.com/users/WeaverStever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeaverStever/subscriptions","organizations_url":"https://api.github.com/users/WeaverStever/orgs","repos_url":"https://api.github.com/users/WeaverStever/repos","events_url":"https://api.github.com/users/WeaverStever/events{/privacy}","received_events_url":"https://api.github.com/users/WeaverStever/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-03T03:48:25Z","updated_at":"2015-08-03T18:44:55Z","closed_at":"2015-08-03T15:45:00Z","body":"From the example, **From an URL** \"print page.metadata\" works as expected.  However, \"print page.get_field('title')\" returns an error:  \r\n\r\nAttributeError: 'MetadataParser' object has no attribute 'get_field'\r\n\r\nPython 2.7.6\r\nSuccessful imports on metadata_parser, lxml, BeautifulSoup\r\n"},"comment":{"url":"https://api.github.com/repos/jvanasco/metadata_parser/issues/comments/127366766","html_url":"https://github.com/jvanasco/metadata_parser/issues/6#issuecomment-127366766","issue_url":"https://api.github.com/repos/jvanasco/metadata_parser/issues/6","id":127366766,"user":{"login":"WeaverStever","id":13617914,"avatar_url":"https://avatars.githubusercontent.com/u/13617914?v=3","gravatar_id":"","url":"https://api.github.com/users/WeaverStever","html_url":"https://github.com/WeaverStever","followers_url":"https://api.github.com/users/WeaverStever/followers","following_url":"https://api.github.com/users/WeaverStever/following{/other_user}","gists_url":"https://api.github.com/users/WeaverStever/gists{/gist_id}","starred_url":"https://api.github.com/users/WeaverStever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeaverStever/subscriptions","organizations_url":"https://api.github.com/users/WeaverStever/orgs","repos_url":"https://api.github.com/users/WeaverStever/repos","events_url":"https://api.github.com/users/WeaverStever/events{/privacy}","received_events_url":"https://api.github.com/users/WeaverStever/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T18:44:55Z","updated_at":"2015-08-03T18:44:55Z","body":"Thanks for your quick response, keeps my project moving..\n\nprint page.get_metadata('title') works as expected.\n\nIf the field queried is not in the document, the result is \"None\" -- also\nas expected.\n\nI'm a bit of a newbie to Python. It appears that the processing occurs in\n__init__.py.  I'm planning a CGI web implementation, what would need to be\ndone to include in a common cgi-bin directory?\n\nThanks again,\n\nSteve Kritzer\n\n\n\n\nOn Mon, Aug 3, 2015 at 8:45 AM, jvanasco <notifications@github.com> wrote:\n\n> Thanks for catching this. get_field was renamed into get_metadata a while\n> back.\n>\n> Looking at my notes, it seems that this happened before the public 0.4.1\n> release.\n>\n> I fixed the docs in the 0.6.15 release\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jvanasco/metadata_parser/issues/6#issuecomment-127282821>\n> .\n>\n"}}