Feature Requests item #848836, was opened at 2003-11-25 11:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424138&aid=848836&group_id=39046
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Geir Paulsen (norseman101)
Assigned to: Nobody/Anonymous (nobody)
Summary: tv_grab_sn parsing for more details
Initial Comment:
Hi,
Good work guys, keep it up!
I was wondering if it would be possible to parse the
listings from www.dagenstv.com to output more detailed
information.
I'm using Snapstream PVS, and in their EPG database
they have these fields:
-ProgTitle
-DisplayTitle
-SearchTitle
-ProgDesc
-Genre
-MPAA
-EpisodeTitle
-OrigAirDate
-Actors
-Credits.
I have been using another app to parse the XML-file,
but when they have a new release of that application, I
have to do the fitting all over again. So I was wondering
if it would be possible to parse the info from
dagenstv.com into the XML-file once and for all. Then it
would be taken care of without any further problems.
What I have been thinking about is to have a
configuration file that contains data used when parsing
the title and description coming from dagenstv.com
to analyze the content of the title and description so
the info ends up in the right tag with the right/corrected
information. See the attached file that parses the title
and description. The config file would contain known ID's
which we could fill in as a search criteria.
Reruns: {(R), Reprise}
Subtitled: {(t)} : OnScreen,Norwegian
(For genre:)
Genre:Sitcom: {komiserie}
Genre:News: {nyheter, news, aktualitetsprogram,
dagsrevyen}
Genre:Gameshow: {spørrelek}
Genre:Comedy: {komedie}
Genre:Drama / War: {krigsdrama}
Genre:Documentary: {dokumentar, dokument 2}
Or something like this. Where the genre has several
options for the same type of genre.
Let me give you an example: 100 Centre Street (t) (5)
(r) (ttv)
In the title there is the title (of course) but also the
episode number (5), (in Norway) subtitled (t), reruns (r),
and text-tv (ttv).
So when I parse the title I want to end up with only the
title '100 Centre Street' in the title-tag,
and the rest, (t) (5) (r) (ttv), goes into the its
respective categories/tags or the description.
Here is what the description contains:
'(100 Centre Street) Amerikansk dramaserie. Kritikerrost
dramaserie av Sidney Lumet fra New Yorks kveldsåpne
rettsbygning. Her venter hardbarkede kriminelle og unge
førstegangsforbrytere side om side, for å få sakene sine
opp i retten. [3022930] '
As for the description, it holds the original title, genre,
description, actors, and showview info.
I'm a programmer myselft, so I would gladly have done
this, but I don't know Perl so it might be easier and
faster if someone else would do it.
Anyone any thoughts?
Norseman
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424138&aid=848836&group_id=39046
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
|