Skip to content

Instantly share code, notes, and snippets.

View kemalyen's full-sized avatar

Kemal Yenilmez kemalyen

  • Basingstoke / UK
View GitHub Profile
<?php
// Delegate static file requests back to the PHP built-in webserver
if (PHP_SAPI === 'cli-server' && $_SERVER['SCRIPT_FILENAME'] !== __FILE__) {
return false;
}
chdir(dirname(__DIR__));
require 'vendor/autoload.php';
@kemalyen
kemalyen / xml
Created September 7, 2021 14:53
Example Google Merchant Feed XML
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
<channel>
<title>Celebird RSS 2.0 data feed template products-variants-apparel-upi</title>
<description>Celebird data feed template.</description>
<link>http://www.celebird.com</link>
<item>
<g:id>celebird-eg-variants-apparel-upi-001</g:id>
<title>Diesel Men's Black Stainless-Steel Analog Watch with Black Dial</title>
<description>Cutting edge style watch with a matte black plastic round case, matte black dial, black silicone strap, 3-hand quartz analog movement. Scratch resistant mineral crystal face. Water resistant up to 50 meters. Case size: 44mm. Band width: 24mm.</description>