Feedburner RSS url variable for number of items in feed? - rss

I'm parsing another blog's content by reading their Feedburner RSS feed...
Example: http://feeds.feedburner.com/WebsiteNameHere?fmt=xml
...but the feed only returns 10 items. Is there a URL variable to override the number of items returned in the feed?
I have already tried the following to return 25 items: n=25, no=25, num=25, q=25, max=25, max_results=25, and items=25.
...any suggestions?

There is no such parameter available to override or limit the number of items through a Feedburner delivered RSS feed.
The count of items that appear are set by the site's original feed. If that raw version (before it is wrapped around Feedburner) allows you to add parameters to adjust the number of items, that may be possible.
But no, you can't do it after it's been burned.
Also note going through the Feedburner API route is off since Google has shut that down.

You can use nItems as the parameter. For example:
nItems=40
It works in our case, but I dont know the max limit.

Related

WordPress Rest API not returning all posts, videos and tags

I am trying to fetch all of the videos, tags etc etc through the Wordpress rest api but it doesn't seem to be returning all of the data that I have on Wordpress. For example I have 13 videos on the admin panel (and web app) but on the rest api I can only see 4. I don't have any filters to limit the results I get on the fetch() function.
For the tags, I have 10 for example but it only returns the 8. When I do /wp-json/wp/v2/tags/53 then I get the data for tag #53 (which is one of the tags that don't show up on /wp-json/wp/v2/tags.
The current method of controlling the number of results returned is to add per_page as a query parameter:
website.com/wp-json/wp/v2/posts/?per_page=15
Replace 15 with the desired amount, anywhere from 1 - 100 is permitted

pagePath and nextPagePath in analytics api not working

I try to get a list of pages people go after visiting the selected page. pagePath is a starting page, nextPagePath is the result list of pages I'm interested in. I included a filter to show only one starting page. But the result I get is confusing:
What am I doing wrong?!
Use ga:previousPagePath instead of ga:pagePath. For the reason to me unknown, ga:pagePath and ga:nexPagePath refers in GA API to the same thing.

StackOverflow RSS Feed only returns 30 Items

I use this code to get RSS from stackoverflow.com
SyndicationFeed feed = SyndicationFeed.Load(XmlReader.Create("http://stackoverflow.com/feeds"));
foreach (SyndicationItem item in feed.Items)
{
Console.WriteLine(item.Title.Text);
Console.WriteLine(item.Title.Type);
Console.WriteLine(feed.Items.Count());
Debug.Print(item.Title.Text);
}
I get just 30 items but when I check in Google Reader I get more than this count.
Is there a limitation here?
30 is what stackoverflow returns, it is not a limitation of the SyndicationFeed class.
Google Reader stores old articles from RSS feeds. So we are limited to what the RSS feed contains, but Google has an archive that'll let you keep scrolling.

Bulk edit-tag for Google Reader

How to bulk edit tag of the google reader item ?
Now I'm using /reader/api/0/edit-tag to edit tags, but it's very slow to update tags for all items (in loop).
Dow you know any way to send tags for many items at once?
Possible solution looks like using some threads to send these requests to Google Reader Server.
You can include multiple i= and s= in the same post. just make sure that as you add a new i= you add the corresponding s= for that item even if you've already included the s= for that exact same stream previously (this is really important, or you'll get a 400 error when making the call). I was doing batches of 10 with my code, I'm sure you can do more but I don't know the limit.
Could a working URL for marking all items as read be posted?
I have tried:
<?php echo 'http://www.google.com/reader/api/0/edit-tag?'.'s=feed%2F'.urlencode('http://feeds.feedburner.com/filehippo').'&i='.urlencode('tag:google.com,2005:reader/item/c7701cf414f3539e').'&a=user%2F-%2Flabel%2Fread'.'&T=bbi44C5CQzjzM43yKUPwnA'; ?>
but I just keep getting a 400 error back.
Many thanks.

How to modify page URL in Google Analytics

How can you modify the URL for the current page that gets passed to Google Analytics?
(I need to strip the extensions from certain pages because for different cases a page can be requested with or without it and GA sees this as two different pages.)
For example, if the page URL is http://mysite/cake/ilikecake.html, how can I pass to google analytics http://mysite/cake/ilikecake instead?
I can strip the extension fine, I just can't figure out how to pass the URL I want to Google Analytics. I've tried this, but the stats in the Google Analytics console don't show any page views:
pageTracker._trackPageview('cake/ilikecake');
Thanks,
Mike
You could edit the GA profile and add custom filters ...
Create a 'Search and Replace' custom filter, setting the filter field to 'Request URI' and using something like:
Search String: (.*ilikecake\.)html$
Replace String: $1
(was \1)
Two possibilities come to mind:
it can take a while, up to about 24 hours, for visits to be reflected in the Analytics statistics. How long ago did you make your change?
try beginning the pathname with a "/", so
pageTracker._trackPageview('/cake/ilikecake');
and then wait a bit, as per the first item.
Usually you have the ga script code at the end of your file, while special _trackPageviews() calls are often used somewhere else.
Have you made sure you have your call to pageTracker._trackPageview() after you have defined the pagetracker?
Like this:
var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
pageTracker._trackPageview();
otherwise you just get a JavaScript error I suppose.

Resources