Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imported items with problems #16

Open
zzzooorrrx opened this issue Apr 18, 2019 · 1 comment
Open

imported items with problems #16

zzzooorrrx opened this issue Apr 18, 2019 · 1 comment

Comments

@zzzooorrrx
Copy link

Hello,

when importing xml with the following structure

<item>
<category>glück UND GUT.</category>
<title>Osterbrunch</title>
<link>https://www.daswunschwerk.de/de/veranstaltungen/glueck-und-gut/2019-04-21-osterbrunch</link>
<description>An Ostern wird's bunt und gemütlich bei uns | Brunch am Ostersonntag von 9 bis 15 Uhr.</description>
<content:encoded>
<p>Bei verschiedensten fr&uuml;hlingshaften Leckereien f&uuml;r Gro&szlig; und Klein k&ouml;nnt ihr ganz entspannt Ostern feiern.&nbsp;<br>F&uuml;r eure Kids gibt's an beiden Tagen von uns eine spannende Ostereiersuche auf dem B&uuml;rgerbr&auml;ugel&auml;nde. Bitte bei Reservierung das Alter der Kinder, die mitmachen wollen, angeben.&nbsp;</p>
<p><br>Wir freuen uns auf euch!</p>
<p>Reservierung dringend erforderlich!</p>
</content:encoded>
<enclosure url="https://www.daswunschwerk.de/media/2019-04-21-osterbrunch/_thumbnails/gug-ostern3-[w1140].jpg" type="image/jpeg" length="275072"/
<author>BB-Gasronomie</author>
<pubDate>Sun, 21 Apr 2019 09:00:00 CEST</pubDate>

description is not imported at all, should be teaser
The other fields are imported like a charm.

Any idea how to solve this?

Thx and happy eastern!


My versions:
Typo3: 8.7.24
news: 7.2.0
eventnews: 3.0.0
news_importicsxml: 3.0.0
php: 7.1.26

classic install

@EvilLukas2
Copy link

EvilLukas2 commented Dec 3, 2019

Have you solved this problem?

Edit:
Fix: Just use the <teaser> and </teaser> tags in your xml, and add 'teaser' => $item->getTag('teaser'), to the XmlMapper.php in line 45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants