We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Creating a news feed for other sites to add

How Do I?

Eric N's avatar
Eric N
28 posts
10 years ago
Eric N's avatar Eric N

I have a request from an industry association that would like to add our trade news into their web pages. (side bar widget sort of thing)

I was wondering what would be the best approach with EE to do this, I have an RSS feed and can easily customize those, but if there is a better way to make it seamless and easy for the other side to add would be the ideal solution.

I could also use an iFrame set up with a template that it points to.

Any other brighter ideas?

Thanks!

       
jay_turley's avatar
jay_turley
46 posts
10 years ago
jay_turley's avatar jay_turley

I believe the RSS feed is the simplest solution.

If you choose to create a template for iframe embedding, they can’t affect the styling because cross-domain scripting. This means responsibility for the design will fall on your team/company. Yuck.

Another alternative would be creating an unauthenticated API endpoint that simply responds to a GET request with a JSON (or XML or WebPack or whatever) package containing the news records packaged for consumption.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.