Difference between revisions of "Issue:News aggregation using DPL"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Change Request |Extension = DPL |Version = 1.7.4 |Description = News aggregation using DPL |Status = open }} == Problem == We are trying to implemen...)
 
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  |Version    = 1.7.4
 
  |Version    = 1.7.4
 
  |Description = News aggregation using DPL
 
  |Description = News aggregation using DPL
  |Status      = open
+
  |Status      = Reopened
 
}}
 
}}
  
Line 18: Line 18:
 
We wonder if this can be done, and how. Or else please take this as a feature request.
 
We wonder if this can be done, and how. Or else please take this as a feature request.
  
 +
v2:
 +
That could be another issue around the same subject. Say we are trying to create two pages for  the same filter (Category) but with differen output formats. These to pages will be given the same category, hence will create a recursion in the output.
 +
 +
Is there any way to disable adding auto categories (We am sure there is, but we don't know how), and does that make sense, or does this change break any thing in the whole?
 +
 +
v3:
 +
Our other wiki system is doing just fine. What is happening?
  
 
== Reply ==
 
== Reply ==
 +
Ok. Here is the answer:
 +
 +
If you use include=* and then limit the size with say includemaxlength=100, any news article that is shorter than about 100 char.s categorizes the <dpl> page, unintentionally.
 +
 +
Solution is not to have pages with length < includemaxlength.
 +
 +
Hope this helps to others.
 +
 +
== Reply 2 ==
 +
 +
Are you sure this is really the cause of the problem? I tried to reproduce the error and was not successful.
 +
Maybe you can create two or three pages here in this wiki to demonstrate the problem. Then I will try to fix it.
 +
 +
[[User:Gero|Gero]] 07:37, 17 November 2008 (UTC)

Latest revision as of 08:37, 17 November 2008

Description: News aggregation using DPL
Extension / Version: DPL   /   1.7.4
Type / Status: Change Request   /   Reopened

Problem

We are trying to implement a news system using News Categories and DPL. DPL is well documented and everything worked fine.

The problem arose when we try to aggregate these news in a totally new page. An example follows:

Say we have two categories and two pages for two news channel, WikiNews, and UbuntuNews. Now in a totally new page We would like to see all News regardless of where it is coming from. This does not work. We don't know if it is a feature or a side effect.

DPL categorizes every page that contain dpl tag with category=whatever. So when we create a filter using category=%News (which will match both WikiNews, and UbuntuNews) that creates a recursive output, i.e. pages including pages, etc.

We wonder if this can be done, and how. Or else please take this as a feature request.

v2: That could be another issue around the same subject. Say we are trying to create two pages for the same filter (Category) but with differen output formats. These to pages will be given the same category, hence will create a recursion in the output.

Is there any way to disable adding auto categories (We am sure there is, but we don't know how), and does that make sense, or does this change break any thing in the whole?

v3: Our other wiki system is doing just fine. What is happening?

Reply

Ok. Here is the answer:

If you use include=* and then limit the size with say includemaxlength=100, any news article that is shorter than about 100 char.s categorizes the <dpl> page, unintentionally.

Solution is not to have pages with length < includemaxlength.

Hope this helps to others.

Reply 2

Are you sure this is really the cause of the problem? I tried to reproduce the error and was not successful. Maybe you can create two or three pages here in this wiki to demonstrate the problem. Then I will try to fix it.

Gero 07:37, 17 November 2008 (UTC)