|
|
|
Forum Member
Group: Forum Members
Last Login: 7/2/2007 2:46:08 PM
Posts: 4,
Visits: 7
|
|
| I am trying to create a .aspx page that GETs the URL for a feed from a url parameter, then adds a subscription for the user to that feed. I would like to use the AddSubscription method of the Subscriptions web service on my NGES (1.4.2). The reason I am getting the feed url as a url query parameter is because I would like for all internal web sites that would like to add RSS Feed subscription buttons to their sites to have their button hit my page with their feed url attached, my aspx page would then add the subscription for the user using the web service endpoint shown below: http://someservername.com/ngws/svc/Subscription.asmx Has anyone done this? Do you have some sample code on how to accomplish this? I'm having problems with the user credentials as well as how to send the SOAP packet/document, I've already figured out that a simple HTTP-POST of HTTP-GET will not work for AddSubscription.
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: Today @ 9:09:32 AM
Posts: 600,
Visits: 858
|
|
I think that approach is rather difficult. How do you know what credentials to use?
I would use the "chiclet" method instead as described on our support page (http://www.newsgator.com/support.aspx)
A similar approach, but using this url - http://someserver/ngweb/ngs/subscriber/subext.aspx?[RSS_FEED_URL] - should work and handle the credential issue for you.
Does that work for you?
Nick Harris
NewsGator Technologies
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 7/2/2007 2:46:08 PM
Posts: 4,
Visits: 7
|
|
| Tried the similar method: http://someserver.com/ngweb/ngs/subscriber/subext.aspx?http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml But it does not appear to work. I am taken to the Add Subscriptions page but nothing happens, this is what appears on the screen: Add Subscription Manage My Feeds | Read Now And nothing else, if I click on My feeds, the feed has not been added. Also, it is worth mentioning, another reason for my implementation is to remove the additional step of clicking the "Add" button on the Add Subscriptions page when using a link to add subscriptions. The scenario I am trying to implement would have a user navigate to a site that has an RSS subscribe button, when the user clicks the subscribe button their subscription is added to their NG Reader without having to do/click anything else. Is there a way to implement this? Thank you, L8erG8er
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 7/2/2007 2:46:08 PM
Posts: 4,
Visits: 7
|
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 7/2/2007 2:46:08 PM
Posts: 4,
Visits: 7
|
|
| RE: "I would use the "chiclet" method instead as described on our support page (http://www.newsgator.com/support.aspx)" I wasn't able to find any additional information regarding the "Chiclet" method on the support site, can you give a liitle more information about how to use this method, or supply a more direct link to the information regarding the use of this method. Thank you, L8erG8er
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: Today @ 9:04:35 AM
Posts: 2,987,
Visits: 53,986
|
|
You can't use the Chiclet for a credentialed feed - I don't think there really is a way to automatically add a feed that requires a username/password. You would have to manually add it.
Jonathon McDougall
NewsGator Support
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: Today @ 9:04:35 AM
Posts: 2,987,
Visits: 53,986
|
|
Also, if you are using NGES - NGES support would probably be a better place to ask (They don't really hang out here) - 1.4.2 has a different API than NewsGator Online.
Jonathon McDougall
NewsGator Support
|
|
|
|