mirror of
https://github.com/myronblair/tomsjavajive
synced 2026-06-30 17:50:32 -05:00
Remove Weatherford TX location references from merchant feed
This commit is contained in:
+2
-2
@@ -24,7 +24,7 @@ echo '<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">' . "\n";
|
|||||||
echo '<channel>' . "\n";
|
echo '<channel>' . "\n";
|
||||||
echo ' <title>Tom\'s Java Jive</title>' . "\n";
|
echo ' <title>Tom\'s Java Jive</title>' . "\n";
|
||||||
echo ' <link>' . $base . '</link>' . "\n";
|
echo ' <link>' . $base . '</link>' . "\n";
|
||||||
echo ' <description>Premium artisan flavored coffee beans, freshly roasted in Weatherford, TX.</description>' . "\n";
|
echo ' <description>Premium artisan flavored coffee beans, freshly roasted and delivered to your door.</description>' . "\n";
|
||||||
|
|
||||||
foreach ($products as $p) {
|
foreach ($products as $p) {
|
||||||
$images = json_decode($p['images'] ?? '[]', true);
|
$images = json_decode($p['images'] ?? '[]', true);
|
||||||
@@ -34,7 +34,7 @@ foreach ($products as $p) {
|
|||||||
$title = htmlspecialchars($p['name'] . ' ' . $categoryLabel . ' Coffee');
|
$title = htmlspecialchars($p['name'] . ' ' . $categoryLabel . ' Coffee');
|
||||||
$desc = htmlspecialchars(
|
$desc = htmlspecialchars(
|
||||||
$p['name'] . ' flavored artisan coffee — ' . strtolower($categoryLabel) . '. ' .
|
$p['name'] . ' flavored artisan coffee — ' . strtolower($categoryLabel) . '. ' .
|
||||||
'All natural flavoring. Freshly roasted in Weatherford, TX and shipped to your door. ' .
|
'All natural flavoring. ' .
|
||||||
'12 oz bag.'
|
'12 oz bag.'
|
||||||
);
|
);
|
||||||
$link = htmlspecialchars($base . '/product.php?id=' . $p['product_id']);
|
$link = htmlspecialchars($base . '/product.php?id=' . $p['product_id']);
|
||||||
|
|||||||
Reference in New Issue
Block a user