Comments (5)
Hi @ayoob-faraji,
Thank you for creating this issue.
I can't reproduce it, are you using something particular in your Kernel
class?
The command is trying to open (and should create if not exists) <kernel root dir>/web/rss.xml
file. Unfortunately, I don't know why it can't in your case.
Can you provide me additional information or try to debug the filepath in the vendor\eko\feedbundle\Eko\FeedBundle\Command\FeedDumpCommand.php
file?
from feedbundle.
Hi @eko
I debug the filepath and I create file rss.xml manually in /web/.....
so I run command and file rss.xml was built properly
thanks
now I will create a channel with 3 Item include: blog , news and radio
but I don't know please you guidance me
please you example for me
thanks
from feedbundle.
Ok cool if you could resolve this issue.
Not sure to understand what you talk about, do you want to add multiple entities under different XML nodes (blog, news, radio) in your feed?
from feedbundle.
@eko
no, I have a article entity that has included 3 categories : blog , news and radio
I want file rss.xml includes 3 links blog , news and radio
so if click each of links to go to the page and list to bring it
from feedbundle.
Hi @ayoob-faraji,
This can be achieved by adding a GroupItemField
with 3 ItemFields
.
It could be something like this:
$feed->addItemField(new GroupItemField('categories',
new ItemField('blog', 'getFeedBlogLink'),
new ItemField('news', 'getFeedNewsLink'),
new ItemField('radio', 'getFeedRadioLink')
));
All you have to do is to implement 3 methods in your entity getFeedBlogLink()
, getFeedNewsLink()
and getFeedRadioLink()
.
This should output the following XML:
<entry>
...
<categories>
<blog>YOUR getFeedBlogLink() returned value</blog>
<news>YOUR getFeedNewsLink() returned value</news>
<radio>YOUR getFeedRadioLink() returned value</radio>
</categories>
</entry>
from feedbundle.
Related Issues (20)
- RssFormatter is not rendering the Atom namespace at the top of the feed HOT 1
- ATOM Feed summary does not have the html type
- [Reader] Unable to enable crypto on TCP connection HOT 5
- Having problem adding RSS feeds to Entity HOT 5
- Add additional information from external RSS feed
- FeedDumpService instance error HOT 1
- one feed, several entities? HOT 1
- dynamic route_params? HOT 3
- custom fields HOT 1
- Feed reader media items HOT 2
- order pubDate seem not be respected HOT 1
- Adding a list of objects HOT 4
- Tag a new release version HOT 1
- lastBuildDate custom
- Missing command.xml file
- php 7 with symfony 4 I have messages "is abandoned"
- Symfony 5 does not connect EkoFeedBundle
- How to use a proxy for $reader->load()? HOT 3
- eko_feed.yml ignored on Symfony 5.3, php 8
- Can we have a release for the new updates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feedbundle.