In Progress

Export <UL><LI> elements based in a model

Hello

I have a <ul> with some <li> nodes that represent's node and sub-nodes...

What I need is a script to walk into <ul> <li> nodes enumerating exactly the same way like the browser does, but in a text mode based in a model of export...

To understand, take a look in the attached image... the result should be the following...

The result can be assigned to a <textarea> element

"categories": [

{"id": 0001,

"name": "Category Node 1",

"subcategories": [00011,00012,00014,00015,00016],

},

{"id": 00011,

"name": "Category Subnode 1 from Node 1",

"subcategories": [],

},

{"id": 00012,

"name": "Category Subnode 2 from Node 1",

"subcategories": [000121,000122],

},

{"id": 000121,

"name": "Category Subnode 1 from Subnode 2",

"subcategories": [],

},

{"id": 000122,

"name": "Category Subnode 2 from Subnode 2",

"subcategories": [],

},

{"id": 00014,

"name": "Category Subnode 4 from Node 1",

"subcategories": [000141,000142],

},

{"id": 000141,

"name": "Category Subnode 1 from Subnode 4",

"subcategories": [],

},

{"id": 000142,

"name": "Category Subnode 2 from Subnode 4",

"subcategories": [],

},

{"id": 00015,

"name": "Category Subnode 5 from Node 1",

"subcategories": [],

},

{"id": 00016,

"name": "Category Subnode 6 from Node 1",

"subcategories": [000161,000162],

},

{"id": 000161,

"name": "Category Subnode 1 from Subnode 6",

"subcategories": [],

},

{"id": 000162,

"name": "Category Subnode 2 from Subnode 6",

"subcategories": [],

},

{"id": 0002,

"name": "Category Node 2",

"subcategories": [],

},

{"id": 00013,

"name": "Category Node 3",

"subcategories": [],

}

]

Skills: HTML, Javascript, jQuery / Prototype

See more: kostenlose software logos designen, freelancer desenvolver software, easy way understand probability, desenvolver software freelancer, como desenvolver site html, indesign export word, desenvolver software web grails, desenvolver aplicativo para iphone, desenvolver software, archicad export autocad services, desenvolver software para restaurantes, commission based model sales

About the Employer:
( 5 reviews ) Americana, Brazil

Project ID: #11720049

Awarded to:

BaNgan

Hi, In short, you are looking for a JSON generator from and UL list. Could you send me the actual html structure of the list? Feel free to contact me via Skype: bangank36, my timezone is GMT+7. My resume website: More

$40 USD in 1 day
(99 Reviews)
5.9

11 freelancers are bidding on average $38 for this job

abdulghaffar11

Hello, DON'T AWARD PROJECT BEFORE DISCUSSION, its pretty simple for me but I have few questions to ask, knock me for further discussion, we have 5 years experience in this skills thank you!

$100 USD in 1 day
(64 Reviews)
5.8
edujoseg

Hi. Your project is a piece of cake for me. I'm expert on Javascript. I will do a DOM walk then generate structured data just as required. Eduardo

$30 USD in 1 day
(22 Reviews)
5.1
rambanstola

Hi, I have made a crawler to extract data from a website . So this task is familiar to me

$66 USD in 2 days
(15 Reviews)
4.1
shaochao555

Welcome your proposal. I am a MySQL, PHP, Javascript expert. I completed many web projects in the past and I have a lot of experience in them. I have experience more 10 years in web development. Specially, I built More

$30 USD in 2 days
(14 Reviews)
4.1
$30 USD in 1 day
(8 Reviews)
3.7
Programmer59

Hello Sir..! I read your description I can complete your project on time and within your budget I am fully confident about your project. I will receive your best wishes. I am waiting your response thanks you so much More

$30 USD in 1 day
(3 Reviews)
2.2
KrickyKiki

Hello, I am web developer working mainly with ROR and PHP, backend stuff.. For this project i even think there are some already premade api-s, but i'll check to be sure, if not i can make script not a problem. Conta More

$40 USD in 1 day
(5 Reviews)
2.3
codelogistic

A proposal has not yet been provided

$45 USD in 1 day
(5 Reviews)
2.3
mathspy

This is really easy should take me around 1 hour of work (Sorry for my lacking profile I just registered)

$20 USD in 0 days
(0 Reviews)
0.0
cubeheap

Hello Mate We are a young team that is focused on growth through doing things differently. Since inception we have focused on delivering projects which are benchmarked by its quality. We say what we can deliver and d More

$30 USD in 1 day
(1 Review)
0.0
$15 USD in 1 day
(0 Reviews)
0.0
cretupaul92

Our expierence is related to everything belongs to Web development. Our main skills are PHP, Wordpress, Magento, Html, Css, jQuery, Ajax, mySql, Cordova, Drupal. We will do our best to finish the work as a proffessiona More

$30 USD in 1 day
(0 Reviews)
0.0
guidopola

This is my first bid for work here, i will do my best to get the job done as fast as possible, i hope you chose me.thank you.

$10 USD in 1 day
(0 Reviews)
0.0