Postato originariamente da Qwertj:
1. Se usi InnerText viene fuori solo il testo, senza il codice Html
Es.
<a href="
google.com">Link</…; restituirebbe "Link" senza il resto dei tag
2. Con FileSystemWatcher puoi tenere d'occhio il file (oppure usi un timer che tipo ogni 5 secondi verifica la lunghezza del file per sapere s'è stato modificato)
Però devi capire come è strutturato. Prova ad allegarlo che magari ci guardo pure io
Ciao, purtroppo anche con un timer che controlli se la lunghezza è diversa, sarebbe poi difficile recuperare tutti i preferiti.. Ci sto pensando un po', nel frattempo posto il contenuto del file Bookmarks:
{
"checksum": "03a95db05cda9f1919e294cdc2731692",
"roots": {
"bookmark_bar": {
"children": [ {
"date_added": "12938556049652952",
"id": "8",
"name": "YouTube",
"type": "url",
"url": "http://www.youtube.com/?gl=IT&hl=it"
}, {
"date_added": "12938466861989723",
"id": "6",
"name": "Facebook",
"type": "url",
"url": "http://www.facebook.com/"
}, {
"date_added": "12938467830634793",
"id": "7",
"name": "Yahoo Answer",
"type": "url",
"url": "http://it.answers.yahoo.com/my-activity"
}, {
"children": [ {
"children": [ {
"date_added": "12938741063679261",
"id": "22",
"name": "[GUIDA HTML] Mappe Sensibili",
"type": "url",
"url": "http://neverwinternights.playbyforum.forumcommunity.net/?t=3171126"
}, {
"date_added": "12938633895888424",
"id": "18",
"name": "Tutorial Reference",
"type": "url",
"url": "http://www.w3schools.com/default.asp"
}, {
"date_added": "12938634052143908",
"id": "19",
"name": "Elenco Tags HTML",
"type": "url",
"url": "http://www.w3schools.com/tags/default.asp"
}, {
"date_added": "12938657041210767",
"id": "20",
"name": "Colori_esadecimale",
"type": "url",
"url": "http://users.libero.it/luclep/itaint.htm"
}, {
"date_added": "12938620090761587",
"id": "14",
"name": "Recensione del libro \"CSS Guida Completa\" di Gianluca Troiani (Apogeo) su CulturaSpettacolo.it - Magazine di informazione culturale e artistica",
"type": "url",
"url": "http://www.culturaspettacolo.it/index.asp?action=showarticle&idart=162"
}, {
"date_added": "12938611044854877",
"id": "9",
"name": "HTML.it",
"type": "url",
"url": "http://www.html.it/"
}, {
"date_added": "12938622581720644",
"id": "15",
"name": "HTML.it forum",
"type": "url",
"url": "http://forum.html.it/forum/"
}, {
"date_added": "12941228909176814",
"id": "45",
"name": "Pseudo-classi_e_link",
"type": "url",
"url": "http://www.html.it/guide/esempi/css/test/pseudoclassi.html"
}, {
"date_added": "12941243809292747",
"id": "48",
"name": "LINK or @import?",
"type": "url",
"url": "http://www.stevesouders.com/blog/2009/04/09/dont-use-import/"
}, {
"date_added": "12941311623449587",
"id": "49",
"name": "CSS Color Names",
"type": "url",
"url": "http://www.w3schools.com/css/css_colornames.asp"
}, {
"date_added": "12941330679694156",
"id": "50",
"name": "Usare il background | Articoli Css | Css.HTML.it",
"type": "url",
"url": "http://css.html.it/articoli/leggi/432/usare-il-background/2/"
}, {
"date_added": "12940901866021935",
"id": "38",
"name": "Imparare i CSS ? Ecco da dove iniziare",
"type": "url",
"url": "http://www.pergrandiepc.com/2009/07/imparare-i-css-ecco-da-dove-iniziare/"
}, {
"date_added": "12941148000442638",
"id": "44",
"name": "CSS2 Test Suite",
"type": "url",
"url": "http://meyerweb.com/eric/css/tests/css2/"
}, {
"date_added": "12940981954010238",
"id": "39",
"name": "Servizio di validazione del W3C",
"type": "url",
"url": "http://jigsaw.w3.org/css-validator/#validate_by_uri+with_options"
} ],
"date_added": "12938741094397453",
"date_modified": "12956950925013158",
"id": "23",
"name": "HTML",
"type": "folder"
}, {
"children": [ {
"date_added": "12953211632766097",
"id": "91",
"name": "HOEPLI",
"type": "url",
"url": "http://www.hoepli.it/"
} ],
"date_added": "12941146521101045",
"date_modified": "12953253580600936",
"id": "40",
"name": "Librerie",
"type": "folder"
}, {
"children": [ {
"date_added": "12941928652042002",
"id": "53",
"name": "Guida Visual Basic 6",
"type": "url",
"url": "http://www.webmasterpoint.org/programmazione/programmi/visualbasic/"
}, {
"date_added": "12941931623596235",
"id": "54",
"name": "13 manuali per dominare Visual Basic .Net | Fucinaweb",
"type": "url",
"url": "http://www.fucinaweb.com/fw/manualivbnet/#libro1"
}, {
"date_added": "12943577069653348",
"id": "61",
"name": "Costruttori vs Metodi Factory",
"type": "url",
"url": "http://it.w3support.net/index.php?db=so&id=628950"
}, {
"date_added": "12943661499564191",
"id": "62",
"name": "Esercizi di programmazione",
"type": "url",
"url": "http://www.alphabeto.it/"
}, {
"date_added": "12943880597267941",
"id": "64",
"name": "mono",
"type": "url",
"url": "http://www.mono-project.com/Visual_Basic"
}, {
"date_added": "12944313223504427",
"id": "65",
"name": "Creare estensioni vb.NET",
"type": "url",
"url": "http://community.visual-basic.it/Alessandro/archive/2010/03/14/27626.aspx"
}, {
"date_added": "12944487240690196",
"id": "66",
"name": "VB.NET Tutorials",
"type": "url",
"url": "http://www.dotnetperls.com/vbnet"
}, {
"date_added": "12944487982330388",
"id": "67",
"name": "Icone_Wikipedia",
"type": "url",
"url": "http://it.wikipedia.org/wiki/Utente:Acchiappasogni/icone_varie"
}, {
"date_added": "12944614518346992",
"id": "68",
"name": "Totem's Lair: Guida a Language INtegrated Query - Introduzione",
"type": "url",
"url": "http://totemslair.org/guide/viewchapter.php?guida=linq&id=1"
}, {
"date_added": "12944692785444533",
"id": "69",
"name": "Approccio ai database con VB.Net | Guida VB.Net | VB.Net | Mr.Webmaster",
"type": "url",
"url": "http://www.mrwebmaster.it/vbnet/guide/approccio-database-vbnet_692.html"
}, {
"date_added": "12944692791342533",
"id": "70",
"name": "IlSoftware.it - Visual Basic 2005 passo-passo: Accesso ai dati",
"type": "url",
"url": "http://www.ilsoftware.it/articoli.asp?id=3219&pag=3"
}, {
"date_added": "12944692794554533",
"id": "71",
"name": "IlSoftware.it - Visual Basic 2005 passo-passo: Accesso ai dati - seconda puntata",
"type": "url",
"url": "http://www.ilsoftware.it/articoli.asp?id=3527"
}, {
"date_added": "12948127977144674",
"id": "80",
"name": "Personal PrintPreviewDialog",
"type": "url",
"url": "http://forum.masterdrive.it/visual-basic-net-18/vb2005ee-printpreviewdialog-scelta-stampante-26225/"
}, {
"date_added": "12948129810295869",
"id": "81",
"name": "La stampa in VB.net",
"type": "url",
"url": "http://forum.masterdrive.it/visual-basic-net-tutorials-and-how-to-36/stampa-in-vb-net-come-stampare-crystalreport-20264/"
}, {
"date_added": "12949792014985217",
"id": "84",
"name": "Visual Basic.it",
"type": "url",
"url": "http://www.visual-basic.it/"
}, {
"date_added": "12949967348837053",
"id": "85",
"name": "LINQ oltre SQL e XML: creare un provider per l'integrazione con Live Search | LINQ | LINQItalia.com",
"type": "url",
"url": "http://www.linqitalia.com/articoli/linq/extension-live-search.aspx"
}, {
"date_added": "12951525669369036",
"id": "86",
"name": "Gestire Database in Visual Basic 2008-2010",
"type": "url",
"url": "http://www.thegeeks.it/programmazione/guida-gestire-database-in-visual-basic-2008.html"
}, {
"date_added": "12953168458656747",
"id": "90",
"name": "Visual Basic 2010 e ADO.NET: seconda puntata",
"type": "url",
"url": "http://www.ilsoftware.it/articoli.asp?id=6506&pag=0"
}, {
"date_added": "12953253580600936",
"id": "92",
"name": "Tutorial-90-Imparare Visual Basic",
"type": "url",
"url": "http://www.youtube.com/watch?v=VWrZra6sd5s&feature=mfu_in_order&list=UL"
}, {
"date_added": "12953254212607085",
"id": "93",
"name": "Librinformatica - Visual Basic 2008 Express edition - Crea i tuoi programmi",
"type": "url",
"url": "http://www.librinformatica.com/4259-visual-basic-2008-express-edition---crea-i-tuoi-programmi-9788861141148.html"
}, {
"date_added": "12953289350396075",
"id": "94",
"name": "faq",
"type": "url",
"url": "http://www.delphiruby.com/faq.htm"
}, {
"date_added": "12953467348446838",
"id": "95",
"name": "Impossibile ripristinare il sistema",
"type": "url",
"url": "http://www.techassistance.it/expert/reply/431/impossibile-ripristinare-il-sistema/"
}, {
"date_added": "12953484207340721",
"id": "96",
"name": "Problema installazione SQL Server 2008 Express su Windows 7 - Microsoft Answers",
"type": "url",
"url": "http://answers.microsoft.com/it-it/windows/forum/windows_7-windows_programs/problema-installazione-sql-server-2008-express-su/dc07758b-011f-4e07-84a7-33f3585698bd?page=1&tm=1309008750066#footer"
}, {
"date_added": "12953484211402954",
"id": "97",
"name": "Problema installazione SQL Server 2008, Windows 7",
"type": "url",
"url": "http://www.techassistance.it/expert/reply/49025/problema-installazione-sql-server-2008-windows-7/"
}, {
"date_added": "12954183589160887",
"id": "98",
"name": "Procedura: implementare la convalida con il controllo DataGrid",
"type": "url",
"url": "http://msdn.microsoft.com/it-it/library/ee622975.aspx"
}, {
"date_added": "12956020686902069",
"id": "112",
"name": "Database XML in VB.Net",
"type": "url",
"url": "http://www.alessioluffarelli.it/guide_tutorial/desktop/database_xml.php#premessa"
} ],
"date_added": "12941928635955002",
"date_modified": "12956950973286919",
"id": "51",
"name": "VisualBasic",
"type": "folder"
}, {
"date_added": "12938613095701910",
"id": "10",
"name": "PieroTofy",
"type": "url",
"url": "http://www.pierotofy.it/"
}, {
"date_added": "12938615630073919",
"id": "13",
"name": "Binario/Normale",
"type": "url",
"url": "http://www.guardaqua.it/risorse/binario.php"
}, {
"date_added": "12938696898657013",
"id": "21",
"name": "Forum di Tom's Hardware",
"type": "url",
"url": "http://www.tomshw.it/forum/index.php"
}, {
"date_added": "12938829057785094",
"id": "24",
"name": "DelphiRuby",
"type": "url",
"url": "http://www.delphiruby.com/"
}, {
"date_added": "12938829225196356",
"id": "25",
"name": "Programmazione.it",
"type": "url",
"url": "http://www.programmazione.it/"
}, {
"date_added": "12939660144928448",
"id": "31",
"name": "Numerazione pagine Office SOLUZIONE",
"type": "url",
"url": "http://forum.ubuntu-it.org/index.php?topic=343114.0"
}, {
"date_added": "12942453529129497",
"id": "55",
"name": "Lezione sulla memoria",
"type": "url",
"url": "http://a2.pluto.it/a2956.htm"
}, {
"date_added": "12955189095826957",
"id": "103",
"name": "Wake on lan",
"type": "url",
"url": "http://www.dreamsworld.it/emanuele/2007-04-12/wake-on-lan-come-avviare-un-computer-remoto/"
}, {
"date_added": "12955660070230984",
"id": "109",
"name": "Magico tasto Windows",
"type": "url",
"url": "http://windows.digital.it/magico-tasto-windows-411.html"
}, {
"date_added": "12956020761646344",
"id": "113",
"name": "Binding Navigator/Binding Source/DataGridView - how to? - C# forum - developer Fusion",
"type": "url",
"url": "http://www.developerfusion.com/thread/54011/binding-navigatorbinding-sourcedatagridview-how-to/"
}, {
"date_added": "12956448435698227",
"id": "115",
"name": "ELETTRONICA FACILE - SCULLINO DAVIDE",
"type": "url",
"url": "http://www.hoepli.it/libro/elettronica-facile/9788895990484.asp"
}, {
"date_added": "12956793028298846",
"id": "116",
"name": "Manuale SQL (123 pagine) - Powered by Google Documenti",
"type": "url",
"url": "https://docs.google.com/viewer?url=http://slinux.altervista.org/files/manuale_SQL.pdf"
}, {
"date_added": "12957205925860998",
"id": "121",
"name": "MyISAM vs INNODB",
"type": "url",
"url": "https://docs.google.com/viewer?url=http://www.francy59.altervista.org/pagine/installazione_sw/tabelle_configurazione_MySQL.pdf&pli=1"
}, {
"date_added": "12957206001585330",
"id": "122",
"name": "Impostare MyISAM",
"type": "url",
"url": "http://www.mmkit.com/viewtopic.php?topic=24093"
} ],
"date_added": "12938613988136795",
"date_modified": "12957224987020234",
"id": "11",
"name": "Informatica",
"type": "folder"
}, {
"children": [ {
"date_added": "12939153210002288",
"id": "29",
"name": "site:it.answers.yahoo.com",
"type": "url",
"url": "http://www.google.it/search?sourceid=chrome&ie=UTF-8&q=milan+yahoo+answer#sclient=psy&hl=it&q=+site:it.answers.yahoo.com&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=cb3bac95fcb517ef"
} ],
"date_added": "12941146537730045",
"date_modified": "12941148000442638",
"id": "41",
"name": "Yahoo",
"type": "folder"
}, {
"children": [ {
"date_added": "12955819314890162",
"id": "110",
"name": "Testi e accordi di musica popolare brasiliana MPB",
"type": "url",
"url": "http://www.chicosamba.it/Testi%20e%20accordi%20di%20musica%20brasiliana.htm"
}, {
"date_added": "12956413674970027",
"id": "114",
"name": "OSTERIA DEGLI SPIRITI Lecce - ristorante osteria - 2Spaghi.it",
"type": "url",
"url": "http://www.2spaghi.it/ristoranti/puglia/le/lecce/osteria-degli-spiriti/"
}, {
"date_added": "12957224987020234",
"id": "123",
"name": "OSTUNI",
"type": "url",
"url": "http://www.vacanzeitinerari.it/schede/la_collina_la_pianura_il_mare_ad_ostuni_sc_2993.htm"
}, {
"date_added": "12957373315722221",
"id": "124",
"name": "Chiavette TIM: se la trasparenza \u00E8 un optional | Anima Digitale",
"type": "url",
"url": "http://animadigitale.wordpress.com/2011/04/04/chiavetta-tim-la-trasparenza-e-un-optional/"
} ],
"date_added": "12956950996777263",
"date_modified": "12957373315722221",
"id": "118",
"name": "Altro",
"type": "folder"
} ],
"date_added": "0",
"date_modified": "12956950999259405",
"id": "1",
"name": "Barra dei Preferiti",
"type": "folder"
},
"other": {
"children": [ {
"children": [ {
"date_added": "1287733207738000000",
"id": "4",
"name": "Questa domanda \u00E8 stata eliminata? - Yahoo! Answers",
"type": "url",
"url": "http://it.answers.yahoo.com/question/index?qid=20100608115752AAj8tqw"
} ],
"date_added": "12938466690212911",
"date_modified": "0",
"id": "3",
"name": "Importati da Google Toolbar",
"type": "folder"
}, {
"date_added": "12956862135146759",
"id": "117",
"name": "La locanda di mamma angela",
"type": "url",
"url": "http://www.tripadvisor.it/ShowUserReviews-g194791-d2099012-r116104475-La_Locanda_di_Mamma_Angela-Lecce_Puglia.html#REVIEWS"
} ],
"date_added": "0",
"date_modified": "12956862150735650",
"id": "2",
"name": "Altri Preferiti",
"type": "folder"
},
"synced": {
"children": [ ],
"date_added": "0",
"date_modified": "0",
"id": "120",
"name": "Preferiti sincronizzati",
"type": "folder"
}
},
"version": 1
}