eksopl / fuuka

Fuuka Imageboard Archiver
http://code.google.com/p/fuuka/
Other
58 stars 7 forks source link

Support for 4chan's new HTML #45

Closed eksopl closed 12 years ago

eksopl commented 12 years ago

Leaving this here as a pull request for when it happens.

eksopl commented 12 years ago

Writing additional notes down here so I don't forget:

nstepien commented 12 years ago
eksopl commented 12 years ago

Oh yeah, I forgot about that. The regex in there is the one from the first batch of htmlnew pages, will need to finalize user IDs once it goes live. I knew there was something else, thanks.

nstepien commented 12 years ago

Dunno if you received a mail from moot, but here's what he sent me:

data-utc is an attribute of postContainer, example:

<div class="postContainer opContainer" id="pc1418" data-utc="1335581378">

And IDs look like this:

<span class="nameBlock"><span class="name">Anonymous</span> <span class="posteruid">(ID: vBgRCGv2)</span></span>

I'm not fan of the data-utc on the post container instead of the time element so I asked if he wouldn't mind changing it.

eksopl commented 12 years ago

Nope, I did not.

For me, it's a bit irrelevant for me where data-utc is, but yeah, it makes sense as an attribute of the time element.

My question about uids is how do capcodes look in a board with IDs on.

nstepien commented 12 years ago

For me, it's a bit irrelevant for me where data-utc is, but yeah, it makes sense as an attribute of the time element.

Yeah, he just confirmed that he changed it to be on the time element.

I asked him about uids and capcodes, in case you didn't.