|
|
|
|
m15o
Full Member ⚓︎
  

 ⛺︎ My Room
StatusCafe: m15o
Artifacts:
 
|
 |
« Reply #2 on: a Summer night » |
|
I always love your site(s) and ideas! I'm really inspired by them and what I see on sites of people from this forum too. I was writing my journal and maintaining a feed.atom file that I was updating manually. And while it's cool, I'd rather write the journal entry once than on 2 different places. :omg:k: Either way, this is a really cool project! Thank youu <3 I think my homepage would prob confuse it, can you add the option to make Neon look for content within a specified id as the article area? That's a good point! You'd like to make sure other parts of the page that aren't journal entries won't be mistakenly treated as such? If so, I think your page would be fine: HTML Journal looks for every <article> with an <h1> that starts with an iso 8601 formatted date as its 10 first characters. If the article doesn't have such an h1, it's discarded. I've created a validator to help making sure the page follows the right format and is read correctly. Also I assume it supports multiple <p>'s per article?? Oh and what happens if I have other things in there like images? It would be cool if it created a link like "IMAGE - Click here to view" At the moment, it just shows everything that's in the <article>, including images, any HTML tags, also <script>, which I should probably forbid!  EDIT: Also how did you solve the issue of generating consistent unique IDs for atom? I ended up manually numbering all of mine because there was no way to count them once old ones were removed from my homepage. Oh yes, that was definitely challenging. I've written this spec that describes how to go from an HTML Journal to an Atom feed. Here's the part on ID generation: An entry's required "id" element is equal to the concatenation of the feed's "id", a # character, and the entry's title (e.g. feed_id#title). Any space character should be converted to "-".
|
|
|
|
« Last Edit: a Summer night by m15o »
|
Logged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|