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

Suport multiple apps syndication #41

Open
SalahAdDin opened this issue Jan 29, 2018 · 6 comments
Open

Suport multiple apps syndication #41

SalahAdDin opened this issue Jan 29, 2018 · 6 comments

Comments

@SalahAdDin
Copy link
Contributor

  • Python 3.6.4.
  • Django 2.0.1.
  • Wagtail 2.0b1.
  • Chrome 64.

Currently we only can use a single app for syndication, but users can to want create syndication feeds for multiple apps: news, blogs, etc., for example.

What's about this?

@chrisdev
Copy link
Owner

@SalahAdDin @Parbhat since all page "types" for example BlogPage, StandardPage, Event etc are subclasses of Page we should be able to support this. So that user gives us is a list of models they wish to include in the Feed (and the associated date ordering field) We do a query based on the Pages model to give us the items. I don't know It sounded crazy when I thought of doing it this way but I think it just could work? What do you think @SalahAdDin @Parbhat ?

@SalahAdDin
Copy link
Contributor Author

@chrisdev It's actually my idea. We can use some like InlinePanel for add each new field, i think.

@chrisdev
Copy link
Owner

@SalahAdDin yes this is a great idea 👯‍♂️ . I will really take the package up to the next level of useful.
So can we expect a PR?

@SalahAdDin
Copy link
Contributor Author

SalahAdDin commented Jan 30, 2018

I don't know how can we begins this feature but i can contribute to a existing PR. :(

Ok, give me a minute, i'm thinking about it.

@SalahAdDin
Copy link
Contributor Author

#43
Here is my effort. :'(

@SalahAdDin
Copy link
Contributor Author

@chrisdev, i want to discuss wich is the best approach for do this: i'm thinking to create a FeedApp for each app to blog, but, i'm not sure if it would better fix some fields as a global option and just left a few fields as dynamic per app.

What do you think?

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