Compare commits

..
4 Commits
Author SHA1 Message Date
Joel Male 5a1c822810 bump version 2023-01-03 14:50:47 +10:00
Joel Male fb85d49e88 update google image field as per latest google update 2023-01-03 14:45:20 +10:00
Joel Male b08e9943b8 chore: update version 2022-06-29 09:05:53 +10:00
Joel Male 01ac326a54 chore: update version 2022-06-29 09:05:00 +10:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"laravel", "laravel",
"google-shopping-feed" "google-shopping-feed"
], ],
"version": "1.0.0", "version": "2.0.1",
"homepage": "https://github.com/wearepixel/laravel-google-shopping-feed", "homepage": "https://github.com/wearepixel/laravel-google-shopping-feed",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
+2 -2
View File
@@ -19,7 +19,7 @@ class LaravelGoogleShoppingFeed
'link', 'link',
'title', 'title',
'price', 'price',
'image_link' 'g:image_link'
]; ];
public static function init($title = null, $description = null, $link = null) public static function init($title = null, $description = null, $link = null)
@@ -53,7 +53,7 @@ public function addItem(array $item): bool
public function generate() public function generate()
{ {
$this->xml = [ $this->xml = [
'rss' => [ 'rss' => [
'_attributes' => [ '_attributes' => [
'xmlns:g' => 'http://base.google.com/ns/1.0', 'xmlns:g' => 'http://base.google.com/ns/1.0',
'version' => '2.0', 'version' => '2.0',