Topic exists- but doesn't via API search?
When I make an API call to search_getMatchingTopics with "Iran Election" there are no matching results:
Also, a call to topic_getInfo fails.:
But clearly daylife.com/topic/Iran_Election exists?
http://freeapi.daylife.com/jsonrest/p...
{'response': {'code': 2002, 'message': 'Success', 'payload': {'topic': []}}}
Also, a call to topic_getInfo fails.:
http://freeapi.daylife.com/jsonrest/p...
{'response': {'message': 'Topic Not found in system', 'code': -2008, 'payload': {}}}
But clearly daylife.com/topic/Iran_Election exists?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answer from the company
-
Hi Greg,
That page, daylife.com/topic/Iran_Election, is actually built using calls to the search API. The way to tell is by the quotation marks around "Iran Election" in the upper left ( Home / Topics / "Iran Election" ). I realize its a bit confusing because of the url and the "home / topics" part, sometimes I mistake them for fixed topics as well. Its just a slight difference in language between the API and the web site as to what is a "topic". The other way to tell is the timeline of coverage -- its on the fixed topic pages, but not the search-based pages. Anyhow, if you want to build up something similar to that page, you can do it with the search_* calls, for example, search_getRelatedArticles with the query phrase 'Iran Elections'.
Ken
The company and 1 other person say
this answers the question
-
Inappropriate?Hi Greg,
That page, daylife.com/topic/Iran_Election, is actually built using calls to the search API. The way to tell is by the quotation marks around "Iran Election" in the upper left ( Home / Topics / "Iran Election" ). I realize its a bit confusing because of the url and the "home / topics" part, sometimes I mistake them for fixed topics as well. Its just a slight difference in language between the API and the web site as to what is a "topic". The other way to tell is the timeline of coverage -- its on the fixed topic pages, but not the search-based pages. Anyhow, if you want to build up something similar to that page, you can do it with the search_* calls, for example, search_getRelatedArticles with the query phrase 'Iran Elections'.
Ken
The company and 1 other person say
this answers the question
-
Inappropriate?Thanks for the prompt clarification Ken.
Can you comment on the criteria that's used to determine when and how a topic gets created/added to the Daylife ecosystem?
-
Inappropriate?Sure. For topics about a specific person, location, or organization, we try to maintain a more or less complete set of newsworthy topics. This is managed by an editor with some help from a few automatic tools and processes. For other types of topics, like the elections in Iran that you mentioned, we typically only create them in response to client interest, and other web and API users benefit from the effort. May clients however are opting to create and manage their own topics, using often long search queries and source filters (our search supports boolean queries). Its quick for them and transparent in a way that topics managed by our own staff are not, and differences in perspective regarding what is relevant to the "Mortgage Industry Crisis" or some such thing can be accommodated.
-
Inappropriate?Greg, I was talking with one of our engineers about your initial issue and some changes they're planning in how search-based topics are displayed and surfaced. A question came up though. We were wondering how you got to daylife.com/topic/Iran_Election. Was it a manually entered URL?
-
Inappropriate?Hi Ken - I found daylife.com/topic/Iran so I guessed that Iran_Election might exist given the past few days...
Loading Profile...


