Skip to content

Commit b827b7b

Browse files
Merge pull request #102 from TheDragonCode/1.x
Added `JsonLines` feeds format
2 parents 0c888be + ea52f34 commit b827b7b

File tree

70 files changed

+453
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+453
-121
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dragon-code/laravel-feeds",
3-
"description": "Simple generation XML feeds",
3+
"description": "Fast export of large datasets to feeds for marketplaces and services",
44
"license": "MIT",
55
"type": "library",
66
"authors": [

docs/labels.list

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@
1111
Available for JSON feeds
1212
</secondary-label>
1313

14+
<secondary-label id="format-jsonl" name="jsonl" color="tangerine">
15+
Available for JSON Lines feeds
16+
</secondary-label>
17+
1418
</labels>

docs/laravel-feeds.tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
<toc-element toc-title="License" topic="license.topic" />
1414
</toc-element>
1515
<toc-element topic="introduction.topic">
16-
<toc-element topic="supported-formats.topic" />
1716
<toc-element topic="installation.topic" />
1817
<toc-element topic="create-feeds.topic" />
1918
<toc-element topic="generation.topic">
2019
</toc-element>
2120
<toc-element topic="advanced-usage.topic" />
21+
<toc-element topic="supported-formats.topic" />
2222
</toc-element>
2323
<toc-element toc-title="Receipts">
2424
<toc-element topic="receipt-sitemap.topic" />

docs/snippets/advanced-directive-array.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<array_directive>
33

44
<user>
5-
<name>Giles Graham</name>
6-
<avatar>https://via.placeholder.com/640x480.png/0066dd?text=ullam</avatar>
7-
<avatar>https://via.placeholder.com/640x480.png/0033ff?text=autem</avatar>
8-
<images name="sit consequatur ipsa">https://via.placeholder.com/640x480.png/00ddaa?text=voluptatibus</images>
9-
<images name="deserunt aspernatur veniam">https://via.placeholder.com/640x480.png/00cc55?text=in</images>
5+
<name>Jaiden Gerhold</name>
6+
<avatar>https://via.placeholder.com/640x480.png/0022dd?text=aut</avatar>
7+
<avatar>https://via.placeholder.com/640x480.png/00ddff?text=quia</avatar>
8+
<images name="dolorem deleniti adipisci">https://via.placeholder.com/640x480.png/004400?text=enim</images>
9+
<images name="fugit adipisci consequatur">https://via.placeholder.com/640x480.png/0011ff?text=eveniet</images>
1010
</user>
1111
<user>
12-
<name>Katelyn Harber</name>
13-
<avatar>https://via.placeholder.com/640x480.png/0066dd?text=voluptatem</avatar>
14-
<avatar>https://via.placeholder.com/640x480.png/004488?text=quaerat</avatar>
15-
<images name="consequuntur voluptatem voluptatem">https://via.placeholder.com/640x480.png/006655?text=ipsam</images>
16-
<images name="fugiat consectetur qui">https://via.placeholder.com/640x480.png/007788?text=nam</images>
12+
<name>Darien Murazik</name>
13+
<avatar>https://via.placeholder.com/640x480.png/007700?text=vel</avatar>
14+
<avatar>https://via.placeholder.com/640x480.png/00ffcc?text=nulla</avatar>
15+
<images name="labore aspernatur et">https://via.placeholder.com/640x480.png/0022aa?text=dolore</images>
16+
<images name="consequatur ipsa nihil">https://via.placeholder.com/640x480.png/006611?text=dolorum</images>
1717
</user>
1818

1919
</array_directive>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<attributes_directive>
33

4-
<company since="2007"/>
4+
<company since="1983"/>
55
<url>https://example.com</url>
66

77
<user>
8-
<name>Melvina Beer</name>
9-
<contact email="lchamplin@example.org" phone="555-000-1"/>
8+
<name>Estell Reinger</name>
9+
<contact email="dorothea02@example.com" phone="555-000-1"/>
1010
</user>
1111
<user>
12-
<name>Vivienne Willms</name>
13-
<contact email="raynor.bertram@example.com" phone="555-000-2"/>
12+
<name>Mrs. Marilie O'Connell DDS</name>
13+
<contact email="arno70@example.com" phone="555-000-2"/>
1414
</user>
1515

1616
</attributes_directive>

docs/snippets/advanced-directive-cdata.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<cdata_directive>
33

44
<user>
5-
<name><![CDATA[<h1>Elmo Hilpert</h1>]]></name>
6-
<email>alex.mohr@example.net</email>
5+
<name><![CDATA[<h1>Jay Willms MD</h1>]]></name>
6+
<email>uerdman@example.net</email>
77
</user>
88
<user>
9-
<name><![CDATA[<h1>Golden Sawayn</h1>]]></name>
10-
<email>jamison.ritchie@example.net</email>
9+
<name><![CDATA[<h1>Mrs. Fae Rice</h1>]]></name>
10+
<email>kuhic.tristian@example.com</email>
1111
</user>
1212

1313
</cdata_directive>

docs/snippets/advanced-directive-mixed.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
<mixed_directive>
33

44
<user>
5-
<name>Dr. Hudson Waters</name>
5+
<name>Heath Cummerata</name>
66
<some>
77
<first>Foo</first>
8-
<second>macejkovic.lois@example.net</second>
8+
<second>kasey.sawayn@example.org</second>
99
</some>
1010
</user>
1111
<user>
12-
<name>Scarlett Walter</name>
12+
<name>Dr. Levi Leannon</name>
1313
<some>
1414
<first>Foo</first>
15-
<second>ahaag@example.org</second>
15+
<second>melany.runolfsson@example.org</second>
1616
</some>
1717
</user>
1818

docs/snippets/advanced-directive-value.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<value_directive>
33

44
<user>
5-
<name>Eldon Lind IV</name>
6-
<contact type="email">rlarkin@example.org</contact>
5+
<name>Mr. Jo Emard DVM</name>
6+
<contact type="email">carolina77@example.net</contact>
77
</user>
88
<user>
9-
<name>Miss Marcia Ebert Jr.</name>
10-
<contact type="email">mayert.zackary@example.net</contact>
9+
<name>Nicola Moore</name>
10+
<contact type="email">lkuhlman@example.com</contact>
1111
</user>
1212

1313
</value_directive>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<attribute>
33

4-
<user created_at="2025-09-05T19:34:02+00:00">
4+
<user created_at="2025-09-05T21:10:29+00:00">
55
<id>1</id>
6-
<name>Dr. Rory Streich I</name>
6+
<name>Candida West</name>
77
</user>
8-
<user created_at="2025-09-05T19:34:02+00:00">
8+
<user created_at="2025-09-05T21:10:29+00:00">
99
<id>2</id>
10-
<name>Dr. Nikko Oberbrunner</name>
10+
<name>Prof. Hilton Wuckert</name>
1111
</user>
1212

1313
</attribute>

docs/snippets/advanced-element-header-footer.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
<user>
55
<id>1</id>
6-
<name>Ryann Effertz</name>
6+
<name>Daija Powlowski</name>
77
</user>
88
<user>
99
<id>2</id>
10-
<name>Emely Ziemann MD</name>
10+
<name>Lisa Reichel</name>
1111
</user>
1212

1313
</header_footer>

0 commit comments

Comments
 (0)