Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
RT @doingitwrong: Twitter is the PERFECT communications medium. I have discovered a truly remarkable proof of this, which this tweet is too small to contain.
Today on Reddit: So that's why he's here. http://www.reddit.com/r...
mi trovo in una situazione un po' particolare.. ho uno script php che pesca un valore a caso da una array e lo salva in un altra array. Lo script viene comandato da cron una volta al giorno. Vorrei costituire un feed rss a partire dalla array di uscita.. senza usare db possibilmente. consigli?
("array" maschile, ti prego!). Poi non ho capito che consiglio cerchi. - Claudio Cicali
foreach array as blabla print <channel>blabla.quelchevuoi</channel>; file open (feedrss), write, close, end - Craiv
Il problema credo sia che deve segnare le cose già pubblicate per non ripubblicarle - Claudio Cicali
Ogni volta che peschi il valore lo scrivi nell'RSS. - Lopo
Claudio, perché? C'è un tag per indicare la data di pubblicazione. Ci pensa poi l'RSS reader a gestire le cose, tu nel file devi metterci tutto perché non sai se o quando l'utente lo scarica. - Craiv
Craiv, se lo script viene chiamato una volta al giorno, ogni giorno l'array di destinazione viene ricreato ex novo (se non lo salvi su un DB o su un file). - Lopo
... continuo a non vedere il problema - Craiv
al momento la situazione è questa: lo script genera l'array e lo salva su un file. il giorno dopo fa lo stesso e sovrascrive il file. ho un'altro script che legge il file e genera il feed, che contiene quindi ogni volta solo l'ultimo array. in questa condizione da google reader non riesco a vedere i valori nuovi giorno per giorno - Jacopod
maaa... rileggere il file del giorno prima e aggiungere, invece che riscrivere? - Craiv
ma se aggiungo poi ho lo stesso array, con stesso nome ma valori diversi.. come fo a generare il feed? scusate non sono esperto di php - Jacopod
Today on Reddit: Download a Copy of The Pirate Bay, It’s Only 90 MB http://origin.reddit.com/r...
Download a Copy of The Pirate Bay, It’s Only 90 MB: submitted by andrewstrat to technology [link] [924 commenti] http://origin.reddit.com/r...
Dear Wednesday...: submitted by khdutton to AdviceAnimals [link] [50 commenti] http://origin.reddit.com/r...
Today on Reddit: I wasn't sure if my package was under 16 oz for mailbox use. No scales at home, I improvised. http://origin.reddit.com/r...
Today on Reddit: Dear Wednesday... http://origin.reddit.com/r...
Today on Reddit: For the first year in its history, India has no reported cases of polio. http://origin.reddit.com/r...
For the first year in its history, India has no reported cases of polio.: submitted by jman2011 to worldnews ... http://origin.reddit.com/r...
RT @paolonori: Silenzio in Emilia e le Opere complete di Learco Pignagnoli (parte prima) | Paolo Nori http://www.ilpost.it/paolono... via @ilpost
Saw this in the woods today..: submitted by aintnodoubt to funny [link] [66 commenti] http://origin.reddit.com/r...
Today on Reddit: Saw this in the woods today.. http://origin.reddit.com/r...
ciao a tutti! ho una pagina php che viene formata con diversi contenuti a seconda del parametro con cui è chiamata (esempio page.php?id=1).. come viene indicizzata da google? posso fare qualcosa per indicizzare meglio i contenuti?
Usa mod_rewrite - Napolux from Android
basta quello? - Jacopod
qui però sembrerebbe che dica il contrario http://googlewebmastercentral.... - Jacopod
te la indicizza lo stesso. Il ? lo indicizza benone. E' il # che viene escluso. (motivo per il quale tra l'altro viene consigliato di usare il # per introdurre le variabili di sessione e canonicalizzare di fatto tutti gli URL) - M.
e giusto per essere completi: il mod_rewrite non c'entra una fava con l'indicizzazione di un sito. URL riscritti hanno benefici diretti a livello di CTR in SERP ed indiretti in termini di anchor text in caso di link spontanei. - M.
I find it ironic that the rich are angry over people taking advantage of swedish laws to pirate, but they are al... http://origin.reddit.com/r...
The strongest argument for gay marriage.: submitted by NinjaCupcake to funny [link] [152 commenti] http://www.reddit.com/r...
What Ash's caterpie is evolving?: submitted by MooberGoobers to gaming [link] [112 commenti] http://origin.reddit.com/r...
Today on Reddit: I find it ironic that the rich are angry over people taking advantage of swedish laws to pirate, bu... http://www.reddit.com/r...
Today on Reddit: The strongest argument for gay marriage. http://origin.reddit.com/r...
Today on Reddit: What Ash's caterpie is evolving? http://origin.reddit.com/r...
ciao a tutti! ho una pagina php che viene formata con diversi contenuti a seconda del parametro con cui è chiamata (esempio page.php?id=1).. come viene indicizzata da google? posso fare qualcosa per indicizzare meglio i contenuti?
Today on Reddit: 5th Graders these days... http://origin.reddit.com/r...
Today on Reddit: Dicks in the mouth camera urinal thing. http://www.reddit.com/r...
Today on Reddit: Trolldad Rage http://www.reddit.com/r...
Today on Reddit: I asked them to draw a dinosaur on the box. http://origin.reddit.com/r...
Trolldad Rage: submitted by MrPotatoJunior to fffffffuuuuuuuuuuuu [link] [33 commenti] http://t.co/yCjVaC20
I asked them to draw a dinosaur on the box.: submitted by spitting_venom to funny [link] [69 commenti] http://t.co/LUKbWBe5
Dicks in the mouth camera urinal thing.: submitted by Balls_In_A_Blender to 4chan [link] [39 commenti] http://t.co/ftlPF1BM
5th Graders these days...: submitted by Zissoo to funny [link] [164 commenti] http://t.co/Sl6qEq7z
My friend joined a wireless network called Carrotnet. This happened right after.. Troll level: Master: submitted... http://origin.reddit.com/r...
Other ways to read this feed:Feed readerFacebook