-
I'm trying to extract the body of some comments on HackerNews. If I select the surrounding "div" element and then put it through `Floki.raw_html/1`, everything seems good. However, if I select an inne…
-
Hello! Thanks for this html sanitizing library, it's awesome and I'm using it a lot...
However I need Floki included as well for various reasons and that uses just the mochiweb_html package that onl…
-
Hey, today I installed **Rust** and decided to try this library ...
Here is example HTML5 document (`index.html`):
```html
Example
Example header
Examp…
Eiji7 updated
7 years ago
-
For this code:
```html
1 2
```
I run:
```elixir
Floki.find(html, "span + a")
```
Expected results:
```elixir
[{"a", [], ["2"]}]
```
Actual results:
```elixir
[]
```
**Note**:
Wit…
Eiji7 updated
7 years ago
-
I keep getting errors when dropping it into a blank project. What is the basic config for getting it up and running? Maybe an example might help or instructions on how to integrate into your project …
-
## Example code:
```elixir
html = "\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tLicense Number: 375\n\t\t\t\t\tCurrent Date: 03/01/2017 10:06 AM\n\t\t\t\t\n\t\t\t\n\t\t…
Eiji7 updated
7 years ago
-
Hi Fred, Advice?
I looked at your code, and here's my understanding so far:
Every new url to be parsed gets a new child Worker spun up, then you cast an (opts) message to the worker, and the worke…
-
I'm on Mac OS X El Capitan (10.11.6). Elixir version
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.4.1
```
==> html5ev…
-
I tried to update a project to the new `0.12.0` release, but ran into a bug. Here is a minimal reproduction of the error:
```elixir
html = """
Error MessageThere has bee…
-
In version 0.9,
`Floki.text(["hello world"])` would return `"hello world"`
In version 0.13,
`Floki.text(["hello world"])` returns `""`
note that
`Floki.text([{"div", [], ["hello world"]}])` ret…
boydm updated
7 years ago