Home › Forum › Installazione WP › Importare Post e Commenti da IoBloggo
-
AutorePost
-
-
20 Aprile 2005 alle 11:25 #91SteveAglAmministratore del forum
Qualcuno per caso ha provato ad importare i post e i commenti da un blog ospitato su IoBloggo?
So che WP ha l’utility per importare da feed RSS, purtroppo però i feed di iobloggo contengono solo gli ultimi post e neanche i commenti.
E da iobloggo non è nemmeno possibile esportare i contenuti in qualche altra forma (dump .sql, csv, xml etc etc).
L’unica cosa che mi viene in mente è fare un grabbing di ogni post, via PHP, ma ci vorrei mettere mano solo come ultima soluzione.
Provo a chiedere a qualcuno di voi, magari ha già provato a fare qualcosa del genere. Idee? Suggerimenti?
-
20 Aprile 2005 alle 14:06 #32482UncinoPartecipante
Da ioBloggo non so … però posso dire che esiste il modo per importare da Splinder.
vedere qui: http://www.dementrio.net/spleender/
-
20 Aprile 2005 alle 14:54 #32483SteveAglAmministratore del forum
mmmm sembra interessante, me lo studierò e vedrò se si può fare qualcosa.
Grazie.
-
20 Aprile 2005 alle 15:29 #32486nicolaPartecipante
mrbrown, se sai qualcosa, posta qua la risposta!! l’aspetto con ansia
-
20 Aprile 2005 alle 15:34 #32487SteveAglAmministratore del forum
Il problema a quanto pare, è verificare se la struttura dei template di iobloggo è uguale, o quantomeno simile, a quella di Splinder.
Credo che lo script segnalato da Uncino debba essere modificato (inoltre al momento riesce ad importare solo i post e non i commenti), ma ora non ho modo di controllare la struttura dei template di iobloggo, perché il loro server è irraggiungibile.
-
20 Aprile 2005 alle 19:51 #32493dementrioPartecipante
Sono quasi sicuro che sia possibile usare lo script anche per trasferire da Iobloggo. Il problema sta, come avevate già notato, nel template: se anche Iobloggo (che non conosco) usasse il sistema template di Blogger dovrebbe funzionare out-of-the-box; se invece i template sono diversi bisogna cambiare le parole chiave cercando di far sଠche il risultato finale (cioè quello che si vede guardando il sorgente dal browser) sia lo stesso, o quasi (le cose che vengono aggiunte automaticamente dalla piattaforma, come i banner e i fogli di stile, vengono ignorati dallo script).
Per un confronto potete vedere come rende il template su Splinder: xmlrpc.splinder.com (prego non ironizzare sui contenuti, è un blog di prova con post inutili e/o presi a caso).
Se incontrate dei problemi fatemi sapere, a tutto c’è soluzione.
-
20 Aprile 2005 alle 20:45 #32494SteveAglAmministratore del forum
Ciao Dementrio,
premesso che lo script è davvero notevole, volevo sapere se hai intenzione di implementare anche l’esportazione dei commenti.
Mmmm, a quanto pare i tag di Iobloggo sono diversi da quelli di Splinder. Quindi il tuo script necessiterebbe di una modifica…
-
20 Aprile 2005 alle 21:57 #32495dementrioPartecipante
L’esportazione dei commenti si può fare ma ha il grosso problema di non essere generalizzabile (per quanto ne so): un tool pensato per esportare i commenti di iobloggo verso wordpress funzionerebbe solo da iobloggo verso wordpress, quindi per farne uno bisogna esserne piuttosto motivati e io non devo esportare da iobloggo
Questo non significa che non possa divertirmi un po’ creandone uno, significa che ha un livello di priorità piuttosto basso. Sicuramente più basso degli esami universitari che mi terranno impegnato per circa due settimane ancora.
Per quanto riguarda i tag, dovrei controllare bene come funziona iobloggo, ma se in qualche modo si riesce a creare una lista di tag che contengono i nomi dei tag, dovrebbe bastare dargliela in pasto allo script spacciandogliela come categorie del post.
Se questo non fosse possibile dovresti darmi indicazioni piuttosto dettagliate su cosa modificare: non significa leggere lo script, ma dirmi cosa c’è di diverso nell’output html, quello che proprio non si può rendere come lo script lo vorrebbe. Se so cosa e come modificare bastano una decina di minuti, se devo partire da zero ad analizzare una piattaforma che non conosco (come iobloggo) ci vogliono delle ore, che in questo periodo non ho.
-
20 Aprile 2005 alle 21:59 #32496dementrioPartecipante
-
20 Aprile 2005 alle 23:49 #32497SteveAglAmministratore del forum
Ok, diciamo che a livello di priorità non c’è molta fretta, quindi ne possiamo riparlare con più calma appena hai tempo
In realtà mi stavo documentando per un amico che vorrebbe migrare il suo blog da iobloggo verso WP. Si tratterebbe in effetti di importare in WP i post (titolo, testo, data, categoria) e i commenti (nome, url, testo) e credo nient’altro.
In bocca al lupo per gli esami!
-
23 Aprile 2005 alle 13:14 #32518nicolaPartecipante
novità ?
-
26 Aprile 2005 alle 11:33 #32543iLBorroPartecipante
Eccomi qua
Su segnalazione di MrBrown tengo d’occhio questo 3ad, e nel frattempo scrivo un importer da iobloggo a wordpress (sempre quando/se i problemi ai loro servers si risolveranno).
Spero di riuscire a cavare fuori qualcosa in breve tempo
Ciao a tutti
-
26 Aprile 2005 alle 11:41 #32544SteveAglAmministratore del forum
Benvenuto
-
28 Aprile 2005 alle 8:08 #32614UncinoPartecipante
iLBorro
ciao e benvenuto!
tienici informati.
magari poi si potrà fornire, dietro autorizzazione degli autori originali, delle info al team di WordPress per segnalare anche questi tools di importing, che ne dite?
-
28 Aprile 2005 alle 11:45 #32619SteveAglAmministratore del forum
sarebbe ottimo
-
27 Maggio 2005 alle 18:20 #32947UncinoPartecipante
riporto in alto il topic, per segnalare che iLBorro ha rilasciato una versione alpha dell’ import.
chi lo voglia testare, si faccia sotto
http://www.ilborro.info/archives/2005/05/11/import-ib_alpha/
-
25 Febbraio 2006 alle 18:30 #37257KakyuuPartecipante
Ciao! scusate se riporto su questo post, ma ho un problema enorme con l’import di iLBorro.
Ho seguito il file Readme.txt alla lettera, ma quando vado all’indirizzo dell’import mi appare una schermata con una fila infinita di questi errori:
Warning: fputs(): supplied argument is not a valid stream resource in /membri/kakyuu/blog/wp-admin/import-ib.php on line 75
Warning: fputs(): supplied argument is not a valid stream resource in /membri/kakyuu/blog/wp-admin/import-ib.php on line 76
Warning: fputs(): supplied argument is not a valid stream resource in /membri/kakyuu/blog/wp-admin/import-ib.php on line 77
Warning: fputs(): supplied argument is not a valid stream resource in /membri/kakyuu/blog/wp-admin/import-ib.php on line 78
dopodichè mi si blocca Internet Explorer, e si disconnette.
I settaggi iniziali li ho fatti così:
// You should modify ONLY the following 3 lines.
// Fill it with your iobloggo.com blog url.
// Example: if the blog is "http://test.iobloggo.com", the line must be "test"
$ib_blog = "kakyuu";
// This is the category ID where the imported posts will be saved...
// Change it! (Example, on default installation, "Uncategorized" category is 0
$ib_category = 0;
// This is the user ID wich will be the imported posts' owner
// Change it! (Example, on default installation, admin user is 1
$ib_owner = 1;
// maybe you want increase/decrease the import step...
$imp_step = 10;
ho sbagliato qualcosa nella configurazione?
qualcuno può aiutarmi?
-
5 Aprile 2006 alle 9:17 #38064suoneriaPartecipante
Ho il tuo stesso problema.
-
29 Giugno 2008 alle 13:31 #55293Bug001Partecipante
Ci sono dozzine di utenti che vorrebbero passare da iobloggo.com a WP, ma dopo l’eliminazione dal web dello script di ilborro sembra non ci sia più modo.
A meno che qualcuno sviluppi un plugin o uno script per importare i CSV appositamente creati con il tool fornito da iobloggo stesso.
Compito che sta a WP ed ai suoi sviluppatori.
Che qualche buon’anima ci aiuti.
-
30 Giugno 2008 alle 19:13 #55348SteveAglAmministratore del forum
Se ti danno la possibilità di avere l’export del database in formato CSV è già un buon punto di partenza.
Ci sono ben due plugin:
http://www.zackpreble.com/2008/03/28/importing-posts-from-csv-file-into-wordpress/
ma non so se funziona, il file CSV dovrebbe avere la stessa struttura di questo:
http://www.zackpreble.com/wp-content/uploads/2008/03/sample_csv_post.txt
e poi c’è questo:
http://www.jayblogger.com/the-birth-of-my-first-plugin-import-csv/
Pero’ magari con Excel la cosa è fattibile.
Direi che un tentativo lo puoi fare
-
27 Luglio 2008 alle 15:27 #56347Bug001Partecipante
Mh… si li avevo già individuati come potenziali plugin utili.
Il problema è proprio che il file CSV non ha quella struttura. In realtà iobloggo genera un file scritto in Comma Separated Value per i post, uno per i commenti e un’altro per gli utenti…
Quindi un lavoro con Excel è difficoltoso e lungo (soprattutto per me, che mi ritrovo con più di 500 post e 800 commenti…).
Se qualcuno ha una soluzione comoda al problema, mi faccia sapere… potete trovarmi direttamente sul mio blog: WeBug.tk.
Grazie in anticipo!
-
27 Luglio 2008 alle 17:05 #56352SteveAglAmministratore del forum
i vari csv potresti importarli ognuno in una tabella mySQL e poi con un tool tipo Navicat, tu puoi riordinare i campi e rinominarli in modo da avere una struttura come quella del database di WP
Oppure una volta fatta la conversione CSV -> mySQL puoi crearti uno script php che ti fa l’importazione vera e propria.
-
27 Luglio 2008 alle 19:12 #56356Bug001Partecipante
Mh… detto cosଠsembra abbastanza semplice. Scusa l’ignoranza, per importare in una tabella mySQL cosa devo fare?
-
27 Luglio 2008 alle 21:25 #56357SteveAglAmministratore del forum
Diciamo che CSV è un formato adatto per l’interscambio di dati tra database diversi.
Phpmyadmin per esempio permette di importare un file csv in una tabella mysql. L’unico inconveniente è che prima di importare, devi creare nel nuovo database una tabella con la stessa struttura della tabella originaria.
Però ci sono diversi tool, non so se fanno tutto in automatico:
http://www.slacky.eu/wikislack/index.php?title=Convertitore_csv_mysql#Script_csv2mysql.php
http://www.csv2mysql.com/ (convertitore online, ti mandano i risultati via email)
http://www.etechs.it/importare-un-file-csv-in-mysql-con-php/
-
20 Dicembre 2008 alle 21:43 #60426giuliano652Partecipante
Scusate se tiro su questa discussione, ma volevo sapere se ci sono novità a riguardo. C’è la possibilità (senza dover andare in PHPmyadmin che ho una paura del diavolo a smanettare con il db, visto che non l’ho mai fatto) di importare in qualche modo i post e i commenti da iobloggo?
-
-
AutorePost
- Il topic ‘Importare Post e Commenti da IoBloggo’ è chiuso a nuove risposte.