Greg V
|
cc7e418dee
|
Make HTTPotion an optional dependency and fix README
|
1 year ago |
Greg V
|
d9ead5c456
|
Make underscorifying keys optional
|
1 year ago |
Christian Kruse
|
e758cf6c31
|
fix: ensure that the found classes are valid mf2 class names
Fixes #3
|
1 year ago |
Greg V
|
2d380aa72b
|
Fix implied_photo_deep trying to use a string as an element
Found by using Html5ever parser
|
1 year ago |
Christian Kruse
|
7dad01944a
|
the great refactoring[tm]
Much more idiomatic Elixir code
|
1 year ago |
Christian Kruse
|
024e60848a
|
fix: use blank?/1 helper to determine if there is a <base/> element
|
1 year ago |
Christian Kruse
|
5bb95ee33a
|
ref: easier readable code
|
1 year ago |
Greg V
|
dca67c6e95
|
Add :atomize_keys config option that allows disabling to_atom on user input
It's not a good idea to turn arbitrary HTML classes into atoms:
https://engineering.klarna.com/monitoring-erlang-atoms-c1d6a741328e
|
1 year ago |
Greg V
|
337b2fe8e0
|
Allow parsing pre-parsed HTML trees
|
1 year ago |
Christian Kruse
|
ab371dfef0
|
fix: also check for an empty list on Floki.attribute(child, "alt") call
Fixes #2
|
2 years ago |
Christian Kruse
|
6481ebc506
|
mix format
|
3 years ago |
Christian Kruse
|
b9754e1875
|
ref: use String.trim/1 instead of String.strip/1
|
3 years ago |
Christian Kruse
|
ba35aaf6b4
|
fix: typos
|
4 years ago |
Christian Kruse
|
53ac500fb3
|
ref: with the new httpotion version we can follow redirects
|
5 years ago |
Christian Kruse
|
58dcc7518e
|
fix: strip content for e-*
|
5 years ago |
Christian Kruse
|
4aa992ab7f
|
fix: remove parent node for e-*
|
5 years ago |
Christian Kruse
|
02f51fa4fd
|
ref: removed variable
we now use a function and no longer need it
|
5 years ago |
Christian Kruse
|
2eec0d5d9f
|
loads of bugfixes
|
5 years ago |
Christian Kruse
|
5fbcf4ac94
|
fix: recurse into subtree to parse elements
|
5 years ago |
Christian Kruse
|
0e2d0c74b7
|
fix: don’t overwrite a variable name
|
5 years ago |
Christian Kruse
|
6094fc9e43
|
fix: don’t save a list but a string as attribute value
|
5 years ago |
Christian Kruse
|
b3a283864b
|
fix: use a string, not a list
|
5 years ago |
Christian Kruse
|
4690d0aad2
|
fix: also ignore style and script elements
|
5 years ago |
Christian Kruse
|
6572152ac5
|
fix: ignore comments
|
5 years ago |
Christian Kruse
|
2ffbb434d8
|
feat: we now can parse URLs
|
5 years ago |
Christian Kruse
|
09103c55e3
|
feat: we now resolve relative URLs for items
|
5 years ago |
Christian Kruse
|
e824161db4
|
fix: typo
|
5 years ago |
Christian Kruse
|
4f6c0e4b63
|
feat: now we resolve URLs to absolute URLs for rels
|
5 years ago |
Christian Kruse
|
a149aa9d2c
|
feat: support nested microformat without associated property
|
5 years ago |
Christian Kruse
|
cb9649a7f5
|
bugfixes, refactoring and code cleanup
We now also support nested mf2 parse trees
|
5 years ago |
Christian Kruse
|
69da68c6d5
|
feat: first version of item parsing
|
5 years ago |
Christian Kruse
|
2644c1e89d
|
ref: DRY
|
5 years ago |
Christian Kruse
|
0c12cc552f
|
ref: better modularizing
|
5 years ago |
Christian Kruse
|
a531bebc41
|
fix: ignore <template> elements
|
5 years ago |
Christian Kruse
|
1e3e7d4353
|
fix: don’t overwrite existing attributes/text
|
5 years ago |
Christian Kruse
|
edad107a75
|
feat: we now save the text node as well
|
5 years ago |
Christian Kruse
|
ffa4b98381
|
feat: we now save the attributes the standard defines
|
5 years ago |
Christian Kruse
|
fb7f97e429
|
ref: some refactoring
|
5 years ago |
Christian Kruse
|
06920218ab
|
initial commit
|
5 years ago |