Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:32:37+00:00 2026-06-18T08:32:37+00:00

I am trying to get feeds belonging to a particular subscription in Google reader

  • 0

I am trying to get feeds belonging to a particular subscription in Google reader using the usual GET request to https://www.google.com/reader/api/0/stream/contents/feed/{FEED URL}?ot=1253052000&r=n&xt=user/-/state/com.google/read&n=20&ck=1255646178892&client=myApplication.

Everything seems to be fine except when the URL contains a query string such as http://www.aljazeera.com/Services/Rss/?PostingId=2007731105943979989. I get errors and when I check the response, I am told that “The requested URL ‘/reader/api/0/stream/contents/feed/{SUBSCRIPTION URL MINUS QUERY STRING}’ was not found on this server”. I know that somehow the query strings of the subscription URL and the request URL are getting mixed up. How can I get around this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:32:38+00:00Added an answer on June 18, 2026 at 8:32 am

    You want to Url Encode the Feed Url. There’s an encoding in urls that converts any special character into a sequence of characters that won’t interfere with query operations. You see this a lot when people use spaces, your browser will put %20.

    In C# The place I know to find UrlEncode is HttpUtility.UrlEncode

    Update

    Yes the WebUtility.UrlEncode(string url) method will work too.

    The idea is that when you have text you want to insert into an url, but you don’t want it to affect the behavior/parsing of your url, you encode the text you want to insert. Obviously inserting one url into another will likely cause undesireable results, so the url you’re putting into the {FEED URL} is what needs encoding.

    Example:

    // The ?, &, and :// will likely cause some interesting parsing by
    // the target webserver.
    var feedUrl = "http://site.com/url?a=1&b=2";
    
    var serviceUrl = "https://www.google.com/reader/api/0/stream/contents/feed/{0}?ot=1253052000&r=n&xt=user/-state/com.google/read&n=20&ck=1255646178892&client=myApplication";
    
    var resultUrl = string.Format(serviceUrl, WebUtility.UrlEncode(feedUrl));
    

    Resulting url would be:

    https://www.google.com/reader/api/0/stream/contents/feed/http%3A%2F%2Fsite.com%2Furl%3Fa%3D1%26b%3D2?ot=1253052000&r=n&xt=user/-state/com.google/read&n=20&ck=1255646178892&client=myApplication
    

    Which should work for you just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get a session token to use the Google Calendar API using
I'm trying to get a JSON string using the Google Spreadsheets Data API. I'm
Im trying to get the callback from this: $.getScript( 'http://gdata.youtube.com/feeds/api/videos/<?php echo $m; ?>?v=2&alt=json-in-script', function(data)
Im trying to follow a tutorial that is using SBJsonParser to get twitter feeds,
I'm trying to get simplepie to loop through a few rss feeds using codeigniter
I am trying to get contact name, email and phone from google contact api
I get this error when trying to get a feed from Google Analytics API.
I am trying to get data from a Google Doc Spreadsheet, using javascript and
Hi im trying to get group wall feeds , im using desktop application to
I am trying to get Json format data from this website .. http://www.livetraffic.sg/feeds/json however

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.