|
|
|
|
|
by bct
4587 days ago
|
|
> You may not even need the API if the CMS doesn't screw around too much with the presentation by putting, say, ads, in the middle of the content. This is exactly what I'm saying. > Then you could screen scrape and convert the generated HTML back into Markdown, Why do you want the Markdown at all? |
|
Because you always want to depend on abstraction, not concretion. If you have a whole bunch of data, and you know that all the data has 7 fields and none of the entries in field 3 are null, then that's much easier to work with if you don't know how many fields are in your data at all, or if some of the data has 9 fields and some of it has 3. If you have this situation, then you have to take an extra step to clean your data before you can reason about it properly.
The HTML you get when you go to a web page is anything but an abstraction of a data type. If you want it to get that way, now we're back to telling the whole web how to make web pages.