RSS feed

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 năm cách đây
I have a question I am using 2.20 and would like to have an outside source be the news feed for my news feed on my site is this possible and if so where do I make the changes?
13 năm cách đây
stevedude wrote:
I have a question I am using 2.20 and would like to have an outside source be the news feed for my news feed on my site is this possible and if so where do I make the changes?


You have a couple of options. It depends on how the service intends to deliver items to you and how you want the interaction to feel for the customer.

Option #1: Create a new implementation of INewsService and update the dependency registrar. If you can retrieve news items via web services or parsing XML then all you would need to do is change this service. It would also allow you to keep customers on your site instead of sending them to the news website.

Option #2: Use client side scripting (javacript) to parse HTTP responses and update a list of news items and transfer users to the news site if they click on a news item.  This would be done by changing cshtml and js files and the files to change could vary depending on your design.
13 năm cách đây
Option on sounds like the one I want to keep the people at my site. It is an XML feed that I assume updates pretty regularly. Now the only question is where would I look for information to get this working. I have to admit I know enough to be dangerous and that it for now. I am trying to understand the new configuration. Thank you for any help

http://www.shacknews.com/shackfeed.xml
13 năm cách đây
stevedude wrote:
Option on sounds like the one I want to keep the people at my site. It is an XML feed that I assume updates pretty regularly. Now the only question is where would I look for information to get this working. I have to admit I know enough to be dangerous and that it for now. I am trying to understand the new configuration. Thank you for any help

http://www.shacknews.com/shackfeed.xml


There is no official developer documentation, but many of the community members have documented different challenges and approaches we've taken while working with nopCommerce. Take a look at my blog http://blog.csharpwebdeveloper.com/.

In addition you will want to learn how to parse RSS feeds using C# and the web request/response classes.
13 năm cách đây
How would someone get pictures to be included in the current RSS feed, so it would work with MailChimp (RSS-Driven Emails)?
13 năm cách đây
skyler.severns wrote:
Option on sounds like the one I want to keep the people at my site. It is an XML feed that I assume updates pretty regularly. Now the only question is where would I look for information to get this working. I have to admit I know enough to be dangerous and that it for now. I am trying to understand the new configuration. Thank you for any help

http://www.shacknews.com/shackfeed.xml

There is no official developer documentation, but many of the community members have documented different challenges and approaches we've taken while working with nopCommerce. Take a look at my blog http://blog.csharpwebdeveloper.com/.

In addition you will want to learn how to parse RSS feeds using C# and the web request/response classes.



update: documentation is now available thanks to Andrei.

https://www.nopcommerce.com/documentation.aspx

@thrifty34

I have not touched any of the RSS related functions, but you can find them in the CatalogController. You'll want to play around with them and see what kinds of things you can do (e.g. see if you can render an image). Then load the images from the datastore using the picture service and extend the feed with the pictures you want to include.
13 năm cách đây
Hello,
RSS feeds can be set up for access by RSS aggregators. RSS aggregator software is loaded onto the subscriber's computer. It then accesses the RSS feeds of websites that the subscriber is interested in and presents that feed to the subscriber in an easily read format.

Thanks
David Smith
........................
Kenmore Heating Element
13 năm cách đây
Hello,
RSS stands for Really Simple Syndication. It is actually a method to distribute headlines, notifications and possibly new content to a large list of people using computer programs that organize the material.

Thanks
David Smith
...........................
Dryer Motor
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.