Risposte nei forum create
-
AutorePost
-
sLaPartecipante
Devi sostituire nel loop del tema in uso the_content con the_excerpt. Puoi sostituirlo in index.php, archive.php, page.php in base a dove vuoi fare la modifica e cosa vuoi ottenere. C’e anche il plugin the-excerpt-reloaded che e’ molto valido e pieno di opzioni.
sLaPartecipanteOkkio che i plugins di lesterchan sono ostici. Vanno installati via ftp copiando tutta la cartella del plugin con tutti i files in essa contenuti, stando attenti a copiare la cartella “reale” e non quella scompattata. E’ necessario seguire le iustruzioni di installazione, contenute nel plugin, alla lettera. Ci sono anche dei settaggi da fare, per alcuni di essi, descritti sempre dettagliatamente nelle istruzioni allegate, non basta caricarli ed attivarli perche’ funzionino.
Ultima cosa, ma non per questo meno importante, se usate wordpress 2.5.x pittosto 2.6.x oppure 2.7.x fino ad 2.8 dovete scaricare la versione dello stesso plugin compatibile. Infatti lesterchan mette a disposizione diverse versioni dei suoi plugin compatibli solo con le rispettive versioni di wordpress indicate sempre nelle istruzioni allegate … e a me pare che questo sia uno di quei casi … Personalmente ho usato ed uso quasi tutti i suoio plugin e devi dire onestamente che vanno “quasi” tutti bene. wp-postratings e’ uno di quelli ok ma ostico da installare, ad esempio!
Comunque, vale sempre la regola di base: bisogna avere una certa conoscenza del mezzo per usarlo al meglio non basta la tanto sbandierata installazione in 5 minuti … o meglio basterebbe anche se uno si tenesse tutto come risulta ad installazione finita senza personalizzazioni e plugin’s aggiuntivi installati! Certo e’ che serirebbe a poco e pochi …
sLaPartecipanteSei proprio sicuro che non avere un .htaccess non sia il problema?
Sai che cosa e’ un problema di mod_rewrite?
Di corsi per wordpress ce ne sono anche di gratuiti …
Permettetemi una battuta: come installazione di wordpress siete dei “cani” …
Anche il plugin “Maintenance Mode” non e’ che aiuti molto …
sLaPartecipanteNon so se posso dare link’s, patch’s, o parti di codice. Non vorrei violare il regolamento … cmq nella pagina di feedwordpress c’e’ un link development … segui quello!
sLaPartecipanteInteressantissimo il link segnalato da ondapi. Con quel codice ho aggiunto un bannerino sotto il primo post in home. Prima usavo un plugin che mi succhiava memoria …
3 Giugno 2009 alle 10:53 in risposta a: Problema con Google XML Sitemap (sono nuovo del forum) #65675sLaPartecipanteAlcumi, mi hanno fatto notare hanno solo e/o anche problemi a pingare i services dei motori di ricerca quando si ri-genera la sitemap.xml
La soluzione e’ come sopra solo che il nome del “Hook name” e’ “xml_sitemaps_ping”
In pratica eseguite le stesse operazioni descritte sopra solo che il nome del hook name da aggiungere, per pingare ad esempio ogni ora, e’ “xml_sitemaps_ping”
Spero che sia chiaro, in caso battete un colpo …
sLaPartecipanteE’ un problema di mod_rewrite in htaccess! Verifica bene …
sLaPartecipanteChe versione di feedwordpress usi?
Comunque e’ un problema noto, molto frequente!
Nel forum ufficiale del plugin, nel post dell’ultima versione, c’e’ la soluzione al problema spiegata da un utente che ha cercato di risolvere il bug, confermata dallo stesso autore che ha inserito la “patch” nella vesione development dello stesso.
Non dipende dai feed ma da un bug del plugin. Ad ogni buon conto “pare” che aggiungendo sempre http:// nel feed da aggiungere il problema si verifichi meno … dico pare …
Personalmente lo avevo anche io con certi “feed” e caricando la development del plugin che fuonziona egregiamente non ho, per ora, piu’ riscontrato tale problema.
28 Maggio 2009 alle 13:35 in risposta a: Problema con Google XML Sitemap (sono nuovo del forum) #65560sLaPartecipanteSOLUZIONE TROVATA
Ho trovato la soluzione!
Premetto che non ho trovato la causa del problema, ovvero la non rigenerazione del file sitemap.xml per i post’s syndacati in automatico da feedwordpress e/o per quelli schedulati, (per i post’s scritti e pubblicati manualmente o i post’s syndacati manualmente con feedwordpress non esiste questo problema) ma solo la soluzione alla rigenerazione del file sitemap.xml.
Leggendo e rileggendo e consultando il codice del plugin (ne ho annche creato uno mio come avevo annunciato sopra) sono arrivato a questa soluzione perfettamente funzionante sia con qualsiasi versione di wordpress che con qualsiasi versione di php indipendentemente dagli altri pugin’s e temim installati.
Devo premettere prima una cosa importantissima: esistono delle regole molto importanti di google (probabilmente anche gli altri motori quali yahoo msm e ask le prevedono essendo la xml sitemap uno standard google al quale si rendono compatibili) per la submissione delle sitemap che varrebbe assolutamente la pena tener presente.
Per evitare che un sito sia considerato spam/splog e successivamente deprecato/penalizzato/bannato dall’indice e dall’indicizzazione, google da queste regole:
1 – La sitemap non deve contenere piu’ di 100 voci post’s/articoli/archivi (escluse le pagine, le categorie, i tags e ovviamente la home)
2 – Il file sitemap.xml non deve essere per nessun motivo inviato a google o pingato da google e tutti i servizi associati come ad esempio google news, (o altri motori di ricerca) in un tempo inferiore ad un’ora onde non essere considerato spam e penalizzare quindi il dominio che lo invia.
Detto questo ecco la soluzione:
1 – Scaricare ed installare il plugin wp-crontrol
2 – Configurare il plugin wp-crontrol per eseguire Hook name: sm_build_cron ogni ora.
3 – Impostare il plugin google-xml-sitemap per per non rigenerare il file sitemap.xml in moto automatico, de-selezionandone la casella di spunta nella pagina di configurazione “Rebuild sitemap if you change the content of your blog”
4 – Impostare il plugin google-xml-sitemap per limitare a 100 il “Limit the number of posts in the sitemap”
5 – De-selezionare la creazione del file sitemap.xml.gz, per non creare e inviare doppi contenuti ai motori ri ricerca e ricadere nel loop dell’invio deprecabile perche’ inviato doppio, nonche’ non compatibile con altri motori di ricerca e per risparmiare anche la memoria a disposizione del vostro host, usata dal plugin in fase di generazione e/o rigenerazione
6 – Opzionale: In “Sitemap Content” selezionare solo le opzioni “Include Homepage” e “Include Posts”. I Tags, le Pagine statiche, le Categorie e gli Archivi e’ meglio farli indicizzare normalmente dai crawlers accedendo alla homepage alla vecchia maniera mentre gli Autori per la “privacy correct” … beh, lo capite anche da soli!
Fatto tutto questo vi ri-troverete in alto nel pannello di controllo di wordpress nella pagina di configurazione di google xml sitemap la voce:
Your sitemap will be refreshed in “3540” seconds. Depending on your blog size this might take some time!
Vuol dire che tutto e’ ok e avete fatto la giusta configurazione. Quella scritta sta’ ad indicare che il file sitemap.xml sara’ rigenerato e inviato dal plugin a google (e gli altri motori di ricerca) ogni ora.
Ovviamente questa soluzione non e’ per chi pubblica o syndaca manualmente pochi o alcuni post’s giornalieri e/o settimanali, ma per chi ha la necessita’ di pubblicare o syndicare in automatico molti post’s in un’ora (come fanno ad esempio gli aggregatori o i siti di notizie).
Chi ha comunque problemi con il rebuild, ma pubblica o syndaca pochi post’s, puo’ ad esempio cambiare il tempo del cron ad una sola volta al un giorno.
22 Maggio 2009 alle 14:49 in risposta a: Problema con Google XML Sitemap (sono nuovo del forum) #65483sLaPartecipanteHo quasi risolto!
Il problema sembra proprio essere nel codice del plugin, il quale si appoggia troppo alla versione di PHP e alla build di wordpress, portandosi dietro troppi strascichi nel database.
Ho individuato in rete una versione “lite” dello stesso plugin (NB: non posto il link perche’ non so “se posso” e soprattutto se e’ concesso … in caso faemi sapere dai piani alti… ) che dai test fatti sembra funzionare correttamente sia con WP 2.6.x che con WP 2.7.x senza i problemi sopradescritti.
Ora no so’ se esiste qualche “incompatibilita’” con il plugin e DH PS su Apache2 oppure il plugin e FEEDWORDPRESS (dato che non mi funge nemmeno su installazione fresca, senza nessuna customizzazione, con il tema di default e nessun’altro plugin installato al di fuodi di lui stesso e dell’aggregatore) od ancora il plugin e la versione di PHP e/o di WP (a mio avviso per la “sicurezza” e’ sempre melgio essere aggiornati alle ultime versioni e non scendere di troppi livelli per far funzionare i plugin’s) ma francamente non ho il tempo di vrificarlo e dato che non ho ancora trovato buoni esempi pittosto che cattivi consigli per risolvere ho dovuto seguire strade piu’ veloci …
Ad ogni buon conto ho deciso di auto-crearmi un plugin molto semplice con pochissime righe di codice, una cosa da una mezzoretta di lavoro, il quale, appoggiandosi sulle API di WP, crea una sitemap standard on the fly, senza occupare spazio su disco come avviene per i feed (il meccanismo che usero’ e’ lo stesso) in modo che questo problema non esista piu’ alla base!
Se poi vi interessa, ed e’ possibile, vi daro’ il link, dopo averlo ovviamente uppato nella directory ufficiale dei plugin’s di WordPress, sempre che me lo approvino!
p.s. … rimane comunque aperto questo spazio per eventuali suggerimenti o esperienze di chi con il mio stesso problema ha risolto e vuole condividere la soluzione con gli altri …
Grazie mille a tutti … per ora.
-
AutorePost