|
| 31 Dec 2009 03:50 PM |
http://www.roblox.com/Item.aspx?ID=20053401 I've done it! I finished a basic RHTML parser! I'm going to update it to actual HTML tags right now, I think.
Any comments on the system? |
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 31 Dec 2009 04:03 PM |
| I'll try it and see how it works. =P |
|
|
| Report Abuse |
|
|
| |
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 31 Dec 2009 04:06 PM |
| Tried it, very redundant. You might wanna make it a little more 'modable'... |
|
|
| Report Abuse |
|
|
mattchewy
|
  |
| Joined: 19 Feb 2008 |
| Total Posts: 7300 |
|
|
| 31 Dec 2009 04:06 PM |
| I might start helping you by making a css parser. |
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 31 Dec 2009 04:13 PM |
| ...Uhh... You might wanna use a different style for the tag creation... Instead of a bunch of if ... then statements, make a table or something listing the tags and what they do... |
|
|
| Report Abuse |
|
|
mattchewy
|
  |
| Joined: 19 Feb 2008 |
| Total Posts: 7300 |
|
|
| 31 Dec 2009 04:17 PM |
Thats what I was thinking. Like
Html = {Tag={AnotherTag = {}}}
Then you can embed tags in other tags. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2009 04:20 PM |
Explain, what part of the script needs to be fixed?
Oh, and I'm currently updating it to HTML using W3Schools.
Oh, and matt, that would be very good :D. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 31 Dec 2009 04:38 PM |
| Did you use mine or Meelo's as a base? |
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 31 Dec 2009 06:01 PM |
Well, I suggest something similar to what I'm doing. For example:
RHTML = {} RHTML.Tags = { RHTML_G = { --Put any variables that are true for all tags here. } TAG_rhtml = { TAG_head = { VAR_value = { RetriveType = "INTAG", DefaultValue = "Untitled Page" } }, TAG_body = { TAG_p = { VAR_value = { RetriveType = "INTAG", DefaultValue = "", Type = "DEFINETEXT" } } } }
Maybe something similar to that? :o |
|
|
| Report Abuse |
|
|
yoiano2
|
  |
| Joined: 22 Sep 2007 |
| Total Posts: 522 |
|
| |
|
GoldenUrg
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 6428 |
|
|
| 31 Dec 2009 07:40 PM |
You don't want customizable tags for RoNet or noone would be able to read anyone else's page.
|
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 31 Dec 2009 07:45 PM |
"You don't want customizable tags for RoNet or noone would be able to read anyone else's page."
Well, same thing with real HTML. There could be an RHTML standard, then special tags could be used for different browsers (like some HTML 5 stuff not working in IE). Besides, it was just a suggestion... |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2009 07:56 PM |
| I'll have a look. Do you mind if I use it reverse and convert GUIs to RHTML? |
|
|
| Report Abuse |
|
|
LPGhatguy
|
  |
 |
| Joined: 27 Jun 2008 |
| Total Posts: 4725 |
|
|
| 31 Dec 2009 08:58 PM |
| I doubt he would, but that doesn't really make much sense to do... |
|
|
| Report Abuse |
|
|
zac352
|
  |
| Joined: 20 Feb 2009 |
| Total Posts: 4657 |
|
| |
|
|
| 31 Dec 2009 09:19 PM |
| LP, it'd be a site builder. |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2009 09:24 PM |
LPHAT, that's exactly what I wanted.
Blocco, I wrote it from scratch, I didn't base it off anything... You have one? I'd like to see it! |
|
|
| Report Abuse |
|
|
|
| 31 Dec 2009 09:33 PM |
| BlueTaslem, once you add in the proper html tags, I'll work on a drag 'n' drop builder. |
|
|
| Report Abuse |
|
|
fuggles
|
  |
| Joined: 01 Mar 2008 |
| Total Posts: 13937 |
|
|
| 31 Dec 2009 11:56 PM |
| You couldn't have put it in a place, could you? :P |
|
|
| Report Abuse |
|
|
dsds2
|
  |
| Joined: 21 May 2008 |
| Total Posts: 3851 |
|
|
| 01 Jan 2010 07:10 AM |
never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something. never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something. never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something. never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something. never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something. never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something. never use w3schools. inaccurate, outdated, horrific. use a w3 spec or something.
you get my point. |
|
|
| Report Abuse |
|
|
fuggles
|
  |
| Joined: 01 Mar 2008 |
| Total Posts: 13937 |
|
|
| 01 Jan 2010 07:43 AM |
@dsds
Its not good for learning, but for a basic reference, its fine. |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2010 11:21 AM |
Yes, actually, W3Schools is almost entirely to W3 standards. Its missing stuff, but for all the basic stuff (the stuff I'm putting in), it has everything up to date. |
|
|
| Report Abuse |
|
|
mattchewy
|
  |
| Joined: 19 Feb 2008 |
| Total Posts: 7300 |
|
|
| 01 Jan 2010 11:26 AM |
Heres all the tags.... http://www.w3schools.com/tags/default.asp |
|
|
| Report Abuse |
|
|
mattchewy
|
  |
| Joined: 19 Feb 2008 |
| Total Posts: 7300 |
|
|
| 01 Jan 2010 11:40 AM |
Better yet,
Tags = {"!DOCTYPE", "a", "abbr", "acronym", "address", "applet", "area", "b", "base", "basefont", "bdo", "big", "blockquote", "body", "br", "button", "caption", "center", "cite", "code", "col", "colgroup", "dd", "del", "dfn", "dir", "div", "dl", "dt", "em", "fieldset", "font", "form", "frame", "frameset", "head", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "map", "menu", "meta", "noframes", "noscript", "object", "ol", "optgroup", "option", "p", "param", "pre", "q", "s", "samp", "script", "select", "small", "span", "strike", "strong", "style", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "title", "tr", "tt", "u", "ul", "var"} |
|
|
| Report Abuse |
|
|