Risposte nei forum create
-
AutorePost
-
PaperPartecipante
Infatti avevo provato proprio con lo stesso codice che hai postato tu, provando anche alcune variazioni ma senza risultati.. quindi mi stavo chiedendo (ed è il motivo per cui sto ancora pensando dal lato WP) se la struttura utilizzata per i permalink, o lo stesso plugin WPML con le sue modifiche per la gestione del multilingua ecc, possono portare ad avere intoppi in questo senso, oppure no.
Io tendenzialmente penserei di no, però dato che non posso avere la certezza, chiedo.
A quel punto poi posso dedicarmi al capire il perchè non funziona indagando su altre cause “non-wp” e in altre sedi…
PaperPartecipanteCiao SteveAgl, grazie per la risposta.
Allora, le lingue sono due al momento, quella di default (inglese, con link miosito.com/feed/) e l’italiano (miosito.com/it/feed) ma l’obiettivo è, un pò alla volta, di ampliare le lingue disponibili per i contenuti e quindi i feed. Poi volendo ci sono quelli dei commenti, ma per ora basiamoci solo su quelli dei post.
Ora, per il lato “pratico”, non ho fatto altro che eliminare l’icona presente di default nel tema per i feed, sostituendola con un widget con logo rss e link feedburner.. in questo modo ho potuto inserire una traduzione del widget per l’italiano, inserendo cosଠil link feedburner per i feed italiani. Cosà¬, per l’utente normale la cosa funziona, in quanto in base alla lingua che seleziona dal menu nella sidebar, cambia anche il link dei feed, quindi qui ci siamo.
Quello che manca, è che i normali feed di wp sono sempre accessibili, mentre l’ideale sarebbe appunto fare il redirect dei singoli link, in modo che si vada sempre a finire su feedburner.
Ora, se io faccio dei normali redirect da .htaccess, ovviamente la cosa funziona, ma in linea teorica (correggimi se ho preso una cantonata) se faccio cosà¬, feedburner va in loop, venendo ridirezionato su se stesso.. e quindi senza accedere ai feed generati da wp.. giusto?
Quindi, sempre se il concetto di sopra non è una mia boiata, pensavo di fare i redirect usando il mod_rewrite, includendo delle regole per escludere dal redirect feedburner, ma nella mia ignoranza mi perdo sotto questo aspetto.
PaperPartecipantebhè, una volta che l’immagine è online.. e visualizzandola direttamente nel browser si vede correttamente come sul tuo pc, a quel punto dipende dalle dimensioni originali dell’immagine e le dimensioni con cui viene visualizzata nell’header. un resize eccessivo, sia in ingrandimento che rimpicciolimento, può degradare l’immagine.
Quindi la domanda principale è: l’immagine viene visualizzata nelle sue dimensioni reali, oppure viene ridimensionata per adeguarsi all’header? nel qual caso, ti conviene vedere le dimensioni di cui hai bisogno e poi creare un file ad hoc, senza ricorrere a ridimensionamenti vari.
PaperPartecipantese non dico una boiata, dovrebbero esserci dei plugin proprio per poter inserire il php nelle pagine e nei post, cosa che normalmente wp non permette. O meglio, lo inserisci, ma poi il codice inserito non viene mantenuto cosଠcom’era.
Non ti posso consigliare sul plugin da usare perchè non ho esperienza in merito, ma penso che con un search su questo forum, o nella pagina dei plugin del sito WP, dovresti trovare quello che ti serve.
PaperPartecipanteIo non sono un esperto, quindi per una soluzione probabilmente dovrai aspettare chi ne sa di più.. comunque, giusto per darti uno spunto, io tempo fa avevo trovato il problema che avevo con i feed, analizzandoli con un feed validator, tipo questo http://validator.w3.org/feed/ magari non ti servirà a molto, ma potrebbe anche darti qualche indizio utile.
-
AutorePost