README.md in ogp-0.3.0 vs README.md in ogp-0.4.0
- old
+ new
@@ -39,9 +39,13 @@
open_graph = OGP::OpenGraph.new(response.body)
open_graph.title # => "Open Graph protocol"
open_graph.type # => "website"
open_graph.image.url # => "http://ogp.me/logo.png"
open_graph.url # => "http://ogp.me/"
+
+# All open graph tags are additionally stored in a `data` hash so that custom
+# open graph tags can still be accessed.
+open_graph.data["title"] # => "Open Graph protocol"
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/jcouture/ogp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.