Re: UDM_URL's parent url inside external parser
Alexander Barkov <[email protected]> Mon, 21 Apr 2014 15:52:48 +0400
| Newsgroups | gmane.comp.web.mnogosearch.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 04/16/2014 06:36 PM, Yasser Zamani wrote: > Hi there, > > I need to know the parent url of the url which has been passed to my > parser via UDM_URL. For example if a page at > `http://example.com/example_movie.html` has a link like > `http://example.com/example_movie.mp4` inside it, when mnogosearch > passes `http://example.com/example_movie.mp4` to my parser via UDM_URL, > I need to know it's parent page, `http://example.com/example_movie.html`. > > Is it possible at all? if so, how? or any workaround? You can try to know the parent page using an SQL query like this: select url1.url from url url1, url url2 where url2.referrer=url1.rec_id and url2.url='http://example.com/example_movie.mp4'; > > Thanks in advance! > _______________________________________________ > General mailing list > [email protected] > http://lists.mnogosearch.org/listinfo/general > _______________________________________________ General mailing list [email protected] http://lists.mnogosearch.org/listinfo/general