W3C home > Mailing lists > Public > www-validator@w3.org > November 2017

RE: Building blocks using data

From: O'Guin, Phaewryn D. <JDO09280@ccv.vsc.edu>
Date: Tue, 21 Nov 2017 09:22:42 +0000
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <MWHPR01MB2704654BEA259F75282934D3CC230@MWHPR01MB2704.prod.exchangelabs.com>
HTML validation is a check after the code is written. Also, HTML doesn’t work like scripting does, so not sure what you’re trying to do here. There are no loops or conditional logic in HTML. I think what you’re trying to do has already been done, it’s called WYSIWYG and it allows newbs to drag and drop elements to make HTML documents/pages, and it’s terrible.

But https://www.w3.org/WebPlatform/WG/PubStatus#HTML_specifications may be helpful? Also https://www.w3schools.com/html/default.asp shows many attributes for a given tag.

Standards change, if you’re not willing to update your program to reflect those charges, the world is better off without your program. Development requires dedication. If you don’t plan to swim regularly for the rest of your life, there’s no point in buying a swimsuit. Splash around in the shallow end, but once you jump in the deep end, you can never leave.

Do people still use IRC? wow. I suspect you’re on the replacement. hi! asl? ;P


Regards,

Phaewryn (J.D.) O’Guin





From: jamectomy@tutanota.com [mailto:jamectomy@tutanota.com]
Sent: Monday, November 20, 2017 7:20 PM - 19:20 PM
To: www-validator@w3.org
Subject: Building blocks using data

I'm trying to make code to make blockly-type blocks for html. This is blockly --> https://developers.google.com/blockly<https://developers.google.com/blockly/>. This needs to be predictive not a check after code has already been written. I know html5 isn't completely serializable but some of it is. For example input elements have a type attribute. If I had a good source for scraping those very basic types of relationships between some of the elements and some other elements and attributes then it's possible I could parse/use that data to build my blocks.

Does anyone have advice about where I can find an up-to-date source of data? If possible I'd like data that works for Chromium but I'll take what I can get. Does any source exist in a way that could be useful to me or is all this validation done purely with logic now? One idea is to scrape the MDN site. I could scrape Chromium code possibly.

Does anyone have any other advice about how I could go about this other than manually writing out the data and then manually updating whenever anything changes?

p.s. the freenode channel is supposed to be #validator but there was nobody there when I went on. I saw it listed at https://validator.w3.org/feedback.html#mailinglist. Is it somewhere new now?
Received on Tuesday, 21 November 2017 09:23:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 21 November 2017 09:23:18 UTC