Archive: feed

 

Posts Tagged ‘feed’


If you want to serve up text files for download (perhaps product feeds etc) then you might like this little snippet. Not only will it force the file to be downloaded but it allows you to specify a custom filename that it should be saved as. PLAIN TEXT PHP: if(isset($_GET['download_file'])){     header("Content-type: application/octet-stream");   [...]



 

So now that everyone uses Google Shopping, Google are making life difficult for the merchants and they all have to jump through hoops. The current push from Google is enforcing some things that are very difficult for small companies to conform with :- * EAN Numbers - This is the BIG one, Google are making [...]



 

If you want to offer a csv feed and want the results to be on demand and like the idea of avoiding messing about righting to files on the server etc, you might like this little manuever. You will notice I'm using a non standard db_query function, just assume that this does all the sensible [...]