• IanGrainger
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
I have imported some data from a custom board. One forum has a lot of messages, and trying to use Google Feeds API won't work because the feed file is too big (I'm pretty sure that's why - other feeds work).

Looking at the DB activity I can see the code which fetches the data starts:

exec sp_executesql N'select top 1000 Topic = a.Topic,TopicID = a.TopicID, Name = b.Name, LastPosted = IsNull(a.LastPosted,a.Posted)...

Looking on your general forum's RSS I see the same problem (here ).

Can I control what the maximum number of topics in the RSS feed? Or do I need to change the source and build? 50 would probably be enough! :-d

  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
It is currently hard coded in the LegacyD.cs

int topicLimit = 1000;

I Added New Host Setting: "Max. Topics on the Forum Feed" to limit the amount of Topics on the Forum Feed.

It can be found in the Source Repository.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button