chronoPrint.json with 005,019 changes

This commit is contained in:
Zi 2012-02-08 23:32:33 +05:30
commit b163aee5f2
9 changed files with 39281 additions and 779 deletions

View File

@ -8,8 +8,11 @@ $(function() {
$(this).data("loading", true); $(this).data("loading", true);
var $parent = $(this).parent(); var $parent = $(this).parent();
if ($parent.find('.srtContainer').length > 0) { var $container = $parent.find('.srtContainer');
$parent.find('.srtContainer').slideToggle(); if ($container.length > 0) {
// alert("hi");
$(this).data("loading", false);
$container.is(":visible") ? $container.hide() : $container.show();
return; return;
} }

37405
print/chronoPeople.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -624,47 +624,47 @@
"in": "00:04.620" "in": "00:04.620"
}, },
{ {
"text": "Shankkar Aiyar: Hello.\nNiira Radia: <i>Haan</i>, you met him?", "text": "Chandolia: Hello.\nNiira Radia: <i>Haan</i>, you met him?",
"out": "00:15.328", "out": "00:15.328",
"in": "00:12.512" "in": "00:12.512"
}, },
{ {
"text": "Shankkar Aiyar: <i>Haan,</i> I met him. <i>So woh keh rahaa hai ki aisaa kuch hone waalaa hai nahin.</i> (He says nothing of the kind is going to happen) As far as he understands...they will keep some portfolios... with the PM", "text": "Chandolia: <i>Haan,</i> I met him. <i>So woh keh rahaa hai ki aisaa kuch hone waalaa hai nahin.</i> (He says nothing of the kind is going to happen) As far as he understands...they will keep some portfolios... with the PM",
"out": "00:26.591", "out": "00:26.591",
"in": "00:15.328" "in": "00:15.328"
}, },
{ {
"text": "Niira Radia: They have kept IT, Labour and.... And.. this one. IT, Telecom, Labour and Chemicals & Fertilizers.\nShankkar Aiyar: <i>Haan</i>, Chemicals & Fertilizers...Maybe Steel also, they will keep themselves.", "text": "Niira Radia: They have kept IT, Labour and.... And.. this one. IT, Telecom, Labour and Chemicals & Fertilizers.\nChandolia: <i>Haan</i>, Chemicals & Fertilizers...Maybe Steel also, they will keep themselves.",
"out": "00:38.112", "out": "00:38.112",
"in": "00:26.591" "in": "00:26.591"
}, },
{ {
"text": "Niira Radia: Steel. No. No. They have not kept Steel.\nShankkar Aiyar: Ok...ok...(inaudible)", "text": "Niira Radia: Steel. No. No. They have not kept Steel.\nChandolia: Ok...ok...(inaudible)",
"out": "00:42.976", "out": "00:42.976",
"in": "00:38.112" "in": "00:38.112"
}, },
{ {
"text": "Niira Radia: According to my Congress source Steel is not there. Chemical-Fertilizer, IT, Telecom, and... and Labour.\nShankkar Aiyar: Labour. Ok, ok, ok... <i>chalo theek hai</i>...", "text": "Niira Radia: According to my Congress source Steel is not there. Chemical-Fertilizer, IT, Telecom, and... and Labour.\nChandolia: Labour. Ok, ok, ok... <i>chalo theek hai</i>...",
"out": "00:56.288", "out": "00:56.288",
"in": "00:42.976" "in": "00:42.976"
}, },
{ {
"text": "Niira Radia: (interjecting) No, the thing I want to ask you is he in the house or where is he?\nShankkar Aiyar: No, he is in the house only.", "text": "Niira Radia: (interjecting) No, the thing I want to ask you is he in the house or where is he?\nChandolia: No, he is in the house only.",
"out": "01:02.176", "out": "01:02.176",
"in": "00:56.288" "in": "00:56.288"
}, },
{ {
"text": "Niira Radia: How come Baalu left?\nShankkar Aiyar: <i>Arre</i>... Because PM said that I don't want to give him Infrastructure.\nNiira Radia: The PM said.", "text": "Niira Radia: How come Baalu left?\nChandolia: <i>Arre</i>... Because PM said that I don't want to give him Infrastructure.\nNiira Radia: The PM said.",
"out": "01:11.391", "out": "01:11.391",
"in": "01:02.176" "in": "01:02.176"
}, },
{ {
"text": "Shankkar Aiyar: The minister hasn't told me, but somebody else told me.\nNiira Radia: What?", "text": "Chandolia: The minister hasn't told me, but somebody else told me.\nNiira Radia: What?",
"out": "01:14.464", "out": "01:14.464",
"in": "01:11.391" "in": "01:11.391"
}, },
{ {
"text": "Shankkar Aiyar: ... some people here only told me, they okayed the names for ministers - <i>jaise</i> (like) Telecom and for, IT, and then they said to Maran and T.R.Baalu no for Infrastructure portfolio.", "text": "Chandolia: ... some people here only told me, they okayed the names for ministers - <i>jaise</i> (like) Telecom and for, IT, and then they said to Maran and T.R.Baalu no for Infrastructure portfolio.",
"out": "01:33.919", "out": "01:33.919",
"in": "01:14.464" "in": "01:14.464"
}, },
@ -674,32 +674,32 @@
"in": "01:33.919" "in": "01:33.919"
}, },
{ {
"text": "Shankkar Aiyar: But that is not Infrastructure development, <i>na</i>...Infrastructure <i>ke andar jaise </i> (Inside Infrastructure it's like) - which depends on development further... Chemical Fertilizer industry related issues - private sector and all these things. So it doesn't have too much of a difference.", "text": "Chandolia: But that is not Infrastructure development, <i>na</i>...Infrastructure <i>ke andar jaise </i> (Inside Infrastructure it's like) - which depends on development further... Chemical Fertilizer industry related issues - private sector and all these things. So it doesn't have too much of a difference.",
"out": "01:54.655", "out": "01:54.655",
"in": "01:36.479" "in": "01:36.479"
}, },
{ {
"text": "Shankkar Aiyar: They don't want to give that. Baalu took it, 'How can they do like this to me' (sic)...\nNiira Radia: Hmmmm.", "text": "Chandolia: They don't want to give that. Baalu took it, 'How can they do like this to me' (sic)...\nNiira Radia: Hmmmm.",
"out": "02:03.616", "out": "02:03.616",
"in": "01:54.655" "in": "01:54.655"
}, },
{ {
"text": "Shankkar Aiyar: That's why they are keeping Labour.\nNiira Radia: Hmmmm.", "text": "Chandolia: That's why they are keeping Labour.\nNiira Radia: Hmmmm.",
"out": "02:06.431", "out": "02:06.431",
"in": "02:03.616" "in": "02:03.616"
}, },
{ {
"text": "Shankkar Aiyar: (laughs)\nNiira Radia: Hmmm... so they are giving the Labour to him?", "text": "Chandolia: (laughs)\nNiira Radia: Hmmm... so they are giving the Labour to him?",
"out": "02:09.759", "out": "02:09.759",
"in": "02:06.431" "in": "02:06.431"
}, },
{ {
"text": "Shankkar Aiyar: He was not keen on Maran on..\nNiira Radia: Who was not keen on Maran?", "text": "Chandolia: He was not keen on Maran on..\nNiira Radia: Who was not keen on Maran?",
"out": "02:13.855", "out": "02:13.855",
"in": "02:09.759" "in": "02:09.759"
}, },
{ {
"text": "Shankkar Aiyar: PM..\nNiira Radia: PM, <i>na</i>? I know that. Media is unnecessarily creating nonsense.", "text": "Chandolia: PM..\nNiira Radia: PM, <i>na</i>? I know that. Media is unnecessarily creating nonsense.",
"out": "02:19.743", "out": "02:19.743",
"in": "02:13.855" "in": "02:13.855"
}, },
@ -709,42 +709,42 @@
"in": "02:19.743" "in": "02:19.743"
}, },
{ {
"text": "Shankkar Aiyar: They have communicated. Yesterday night.\nNiira Radia: They have communicated?\nShankkar Aiyar: They have communicated yesterday.", "text": "Chandolia: They have communicated. Yesterday night.\nNiira Radia: They have communicated?\nChandolia: They have communicated yesterday.",
"out": "02:32.031", "out": "02:32.031",
"in": "02:26.143" "in": "02:26.143"
}, },
{ {
"text": "Niira Radia: Saying what?\nShankkar Aiyar: Saying that this is ok and... and...\nNiira Radia: (prompts) And?", "text": "Niira Radia: Saying what?\nChandolia: Saying that this is ok and... and...\nNiira Radia: (prompts) And?",
"out": "02:38.944", "out": "02:38.944",
"in": "02:32.031" "in": "02:32.031"
}, },
{ {
"text": "Shankkar Aiyar: (noise still in background) That Telecom is ok. Hmmm. Ha... But we cannot give more, other Infrastructure titles because we don't want to give it to Baalu and Maran.", "text": "Chandolia: (noise still in background) That Telecom is ok. Hmmm. Ha... But we cannot give more, other Infrastructure titles because we don't want to give it to Baalu and Maran.",
"out": "02:46.080", "out": "02:46.080",
"in": "02:38.944" "in": "02:38.944"
}, },
{ {
"text": "Niira Radia: Uh huh.\nShankkar Aiyar: So there is a deadlock situation on that.", "text": "Niira Radia: Uh huh.\nChandolia: So there is a deadlock situation on that.",
"out": "02:55.839", "out": "02:55.839",
"in": "02:50.207" "in": "02:50.207"
}, },
{ {
"text": "Niira Radia: No. Now the question is that they have to say no to Maran and Baalu, right? And give Azhagiri, Kani & Raja\nShankkar Aiyar: They don't want to give them cabinet berths being a new face.", "text": "Niira Radia: No. Now the question is that they have to say no to Maran and Baalu, right? And give Azhagiri, Kani & Raja\nChandolia: They don't want to give them cabinet berths being a new face.",
"out": "03:07.119", "out": "03:07.119",
"in": "02:55.839" "in": "02:55.839"
}, },
{ {
"text": "Niira Radia: Who. Congress?\nShankkar Aiyar: Congress.", "text": "Niira Radia: Who. Congress?\nChandolia: Congress.",
"out": "03:11.711", "out": "03:11.711",
"in": "03:09.151" "in": "03:09.151"
}, },
{ {
"text": "Niira Radia: No. no. They are giving Azhagiri Cabinet, they said it is left up to the Leader to decide that.\nShankkar Aiyar: No, but they are only giving 3 <i>na</i> in that case.", "text": "Niira Radia: No. no. They are giving Azhagiri Cabinet, they said it is left up to the Leader to decide that.\nChandolia: No, but they are only giving 3 <i>na</i> in that case.",
"out": "03:18.879", "out": "03:18.879",
"in": "03:11.711" "in": "03:11.711"
}, },
{ {
"text": "Niira Radia: <i>Haan. Toh</i> Maran <i>ko</i> drop <i>karnaa padega, na usko.. </i> (Yeah so he will have to drop Maran right?)\nShankkar Aiyar: <i>Wahi</i> problem <i>hai naa saare ke saarii.</i> (That's the whole problem!) Maran seems to have been offered MoS also.", "text": "Niira Radia: <i>Haan. Toh</i> Maran <i>ko</i> drop <i>karnaa padega, na usko.. </i> (Yeah so he will have to drop Maran right?)\nChandolia: <i>Wahi</i> problem <i>hai naa saare ke saarii.</i> (That's the whole problem!) Maran seems to have been offered MoS also.",
"out": "03:25.535", "out": "03:25.535",
"in": "03:18.879" "in": "03:18.879"
}, },
@ -754,17 +754,17 @@
"in": "03:25.535" "in": "03:25.535"
}, },
{ {
"text": "Shankkar Aiyar: <i>Haan</i>. Let us see.. <i>Abhi toh</i> (Now) actually I couldn't speak to boss in detail, because so many people were inside, in the residence, MLA's and all these who were camping(?).", "text": "Chandolia: <i>Haan</i>. Let us see.. <i>Abhi toh</i> (Now) actually I couldn't speak to boss in detail, because so many people were inside, in the residence, MLA's and all these who were camping(?).",
"out": "03:39.103", "out": "03:39.103",
"in": "03:28.095" "in": "03:28.095"
}, },
{ {
"text": "Shankkar Aiyar: He had gone in,<i> kehtaa hai ki baad me kuchh sulah ke baat karta hoon</i> (He said he will take advice and then speak)\nNiira Radia: Hmmm...", "text": "Chandolia: He had gone in,<i> kehtaa hai ki baad me kuchh sulah ke baat karta hoon</i> (He said he will take advice and then speak)\nNiira Radia: Hmmm...",
"out": "03:43.711", "out": "03:43.711",
"in": "03:39.103" "in": "03:39.103"
}, },
{ {
"text": "Shankkar Aiyar: <i>Theek hai</i> (Alright) and once I get some more...", "text": "Chandolia: <i>Theek hai</i> (Alright) and once I get some more...",
"out": "03:45.248", "out": "03:45.248",
"in": "03:43.711" "in": "03:43.711"
}, },
@ -774,23 +774,23 @@
"in": "03:45.248" "in": "03:45.248"
}, },
{ {
"text": "Shankkar Aiyar: Ok... I got this , yesterday late evening\nNiira Radia: No she told me just now...", "text": "Chandolia: Ok... I got this , yesterday late evening\nNiira Radia: No she told me just now...",
"out": "04:03.167", "out": "04:03.167",
"in": "03:57.023" "in": "03:57.023"
}, },
{ {
"text": "Shankkar Aiyar: (overlapping conversation) <i>Toh theek hai, mein pata karvaataa hoon</i> (Okay, I'll find out then).\nNiira Radia: <i>Haan</i>, because I just relayed that message to Congress", "text": "Chandolia: (overlapping conversation) <i>Toh theek hai, mein pata karvaataa hoon</i> (Okay, I'll find out then).\nNiira Radia: <i>Haan</i>, because I just relayed that message to Congress",
"out": "04:07.776", "out": "04:07.776",
"in": "04:03.167" "in": "04:03.167"
}, },
{ {
"text": "Shankkar Aiyar: <i>Haan. Haan.</i>\nNiira Radia: If they don't want Maran...\n(recording ends abruptly)", "text": "Chandolia: <i>Haan. Haan.</i>\nNiira Radia: If they don't want Maran...\n(recording ends abruptly)",
"out": "04:11.600", "out": "04:11.600",
"in": "04:07.776" "in": "04:07.776"
} }
], ],
"dateStr": "Friday 22, May 2009", "dateStr": "Friday 22, May 2009",
"title": "Radia Tapes: Radia, Shankkar Aiyar" "title": "Radia Tapes: Radia, R.K. Chandolia"
}, },
{ {
"dateDMY": "22-05-2009", "dateDMY": "22-05-2009",
@ -3229,73 +3229,73 @@
"time": "18:44:49", "time": "18:44:49",
"subs": [ "subs": [
{ {
"text": "Shankkar: Hello.\nRadia: Hi...am fine... now he's running a very nice ticker.\nShankkar: <i>Haan</i> (Yes) I know that...\nRadia: Ok... I think.\nShankkar: But why are they running it?", "text": "Chandolia: Hello.\nRadia: Hi...am fine... now he's running a very nice ticker.\nChandolia: <i>Haan</i> (Yes) I know that...\nRadia: Ok... I think.\nChandolia: But why are they running it?",
"out": "00:27.360", "out": "00:27.360",
"in": "00:17.631" "in": "00:17.631"
}, },
{ {
"text": "Radia: I told her...I told her, I said you know you should have a sense of humour...I said I didn't know you were a comedy channel.\nShankkar: Ok...ok.\nRadia: <i>Woh toh keh rahi hai ki</i> (She is saying that) they've got confirmed sources of Congress.", "text": "Radia: I told her...I told her, I said you know you should have a sense of humour...I said I didn't know you were a comedy channel.\nChandolia: Ok...ok.\nRadia: <i>Woh toh keh rahi hai ki</i> (She is saying that) they've got confirmed sources of Congress.",
"out": "00:39.904", "out": "00:39.904",
"in": "00:27.360" "in": "00:27.360"
}, },
{ {
"text": "Shankkar: <i>Toh</i> Congress <i>ka toh lena dena hi nahi hai...</i> portfolio <i>se</i> (The Congress has nothing to do with the portfolio.)\nRadia: I told her that...what is it got to do with Congress?\nShankkar: <i>Woh toh yehi bolenge ki DMK se lage hue hai</i> (They will talk about being connected to the DMK)...Ok, ok.", "text": "Chandolia: <i>Toh</i> Congress <i>ka toh lena dena hi nahi hai...</i> portfolio <i>se</i> (The Congress has nothing to do with the portfolio.)\nRadia: I told her that...what is it got to do with Congress?\nChandolia: <i>Woh toh yehi bolenge ki DMK se lage hue hai</i> (They will talk about being connected to the DMK)...Ok, ok.",
"out": "00:46.816", "out": "00:46.816",
"in": "00:39.904" "in": "00:39.904"
}, },
{ {
"text": "Radia: <i>Haan... kuch bhi lage hue hai... kuch bhi lage hue hai... kuch bhi inko... kya ahi hai... pata nahi koun karva raha hai itna jyada... wohi hi hai aur koun ho sakta hai... hai na?</i> (Yeah...they are into meaningless stuff... they are doing nonsense...they have no peace... dont know who's got them into doing this... it's him... who else can it be?)\nShankkar: <i>Haan</i> (Yes).", "text": "Radia: <i>Haan... kuch bhi lage hue hai... kuch bhi lage hue hai... kuch bhi inko... kya ahi hai... pata nahi koun karva raha hai itna jyada... wohi hi hai aur koun ho sakta hai... hai na?</i> (Yeah...they are into meaningless stuff... they are doing nonsense...they have no peace... dont know who's got them into doing this... it's him... who else can it be?)\nChandolia: <i>Haan</i> (Yes).",
"out": "00:59.360", "out": "00:59.360",
"in": "00:46.816" "in": "00:46.816"
}, },
{ {
"text": "Radia: I haven't seen him at the swearing in.\nShankkar: <i>Kaun</i> (Who)?\nRadia: <i>Yeh...Maran ko</i> (This... Maran).\nShankkar: <i>Haan, haan, haan.</i> Vaz <i>ko toh maine dekha tha bhi</i> but I didn't see him. (I saw Vaz but I didn't see him.)", "text": "Radia: I haven't seen him at the swearing in.\nChandolia: <i>Kaun</i> (Who)?\nRadia: <i>Yeh...Maran ko</i> (This... Maran).\nChandolia: <i>Haan, haan, haan.</i> Boss <i>ko toh maine dekha tha bhi</i> but I didn't see him. (I saw Boss but I didn't see him.)",
"out": "01:09.344", "out": "01:09.344",
"in": "00:59.360" "in": "00:59.360"
}, },
{ {
"text": "Radia: <i>Haan...kya bola?</i> (Yes...what did he say) when you spoke to Vaze?\nShankkar: <i>Nahin</i>(No), he said: ok fine.", "text": "Radia: <i>Haan...kya bola?</i> (Yes...what did he say) when you spoke to Boss?\nChandolia: <i>Nahin</i>(No), he said: ok fine.",
"out": "01:16.000", "out": "01:16.000",
"in": "01:09.344" "in": "01:09.344"
}, },
{ {
"text": "Radia: What did... but what did he tell you finally?\nShankkar: No, no. He is basically clear...<i> dekho asal mein</i> (look, in reality) even his boss also wants him to go to Telecom.", "text": "Radia: What did... but what did he tell you finally?\nChandolia: No, no. He is basically clear...<i> dekho asal mein</i> (look, in reality) even his boss also wants him to go to Telecom.",
"out": "01:25.992", "out": "01:25.992",
"in": "01:16.000" "in": "01:16.000"
}, },
{ {
"text": "Shankkar: Because of this whole controversy...\nRadia:Hmm.\nShankkar: It is backfiring on basically Maran.", "text": "Chandolia: Because of this whole controversy...\nRadia:Hmm.\nChandolia: It is backfiring on basically Maran.",
"out": "01:32.824", "out": "01:32.824",
"in": "01:25.992" "in": "01:25.992"
}, },
{ {
"text": "Shankkar: Now, leader, he says he's feeling <i>ki</i> (that) if now... if he doesn't become... it will look that PM didn't basically want him whereas PM has officially communicated...conveyed that...", "text": "Chandolia: Now, leader, he says he's feeling <i>ki</i> (that) if now... if he doesn't become... it will look that PM didn't basically want him whereas PM has officially communicated...conveyed that...",
"out": "01:44.928", "out": "01:44.928",
"in": "01:32.824" "in": "01:32.824"
}, },
{ {
"text": "Shankkar: Raja is ok with telecom with me. So there is no issue <i>ab</i> (now) that is the only thing.\nRadia: Hmm.", "text": "Chandolia: Raja is ok with telecom with me. So there is no issue <i>ab</i> (now) that is the only thing.\nRadia: Hmm.",
"out": "01:50.848", "out": "01:50.848",
"in": "01:44.928" "in": "01:44.928"
}, },
{ {
"text": "Shankkar: <i>Usme toh koi issue hai hi nahi. Ab kal jake dekho kal meeting karenge... kya karenge... pata lagega</i> (So there is no issue in that... now go and check out the meeting tommorow... when they hold a meeting tommorow... we'll know what is happening.)\nRadia: When is he going to Tamil Nadu?", "text": "Chandolia: <i>Usme toh koi issue hai hi nahi. Ab kal jake dekho kal meeting karenge... kya karenge... pata lagega</i> (So there is no issue in that... now go and check out the meeting tommorow... when they hold a meeting tommorow... we'll know what is happening.)\nRadia: When is he going to Tamil Nadu?",
"out": "01:57.192", "out": "01:57.192",
"in": "01:50.848" "in": "01:50.848"
}, },
{ {
"text": "Shankkar: <i>Woh raat ko 8:40 flight</i> (The 8:40 flight in the night).\nRadia: And...what time is the meeting tommorow?\nShankkar: That I don't know...\nRada: Ok.\nShankkar: <i>Uska mujhe kuch nahi pata.</i> (I have no idea about that.)", "text": "Chandolia: <i>Woh raat ko 8:40 flight</i> (The 8:40 flight in the night).\nRadia: And...what time is the meeting tommorow?\nChandolia: That I don't know...\nRada: Ok.\nChandolia: <i>Uska mujhe kuch nahi pata.</i> (I have no idea about that.)",
"out": "02:07.900", "out": "02:07.900",
"in": "01:57.192" "in": "01:57.192"
}, },
{ {
"text": "Radia: <i>Chalo! Amma ja rahi hai waha unke ghar pe pahunchte</i> (Ok! let's see Amma is going there...)\nShankkar: Ok... Ok.\nRadia: Let's see... we'll find out.\nShankkar: : <i>Theek hai.</i>Ok.", "text": "Radia: <i>Chalo! Amma ja rahi hai waha unke ghar pe pahunchte</i> (Ok! let's see Amma is going there...)\nChandolia: Ok... Ok.\nRadia: Let's see... we'll find out.\nChandolia: : <i>Theek hai.</i>Ok.",
"out": "02:12.800", "out": "02:12.800",
"in": "02:07.900" "in": "02:07.900"
} }
], ],
"dateStr": "Friday 22, May 2009", "dateStr": "Friday 22, May 2009",
"title": "Radia Tapes: Radia, Shankkar Aiyar" "title": "Radia Tapes: Radia, R.K. Chandolia"
}, },
{ {
"dateDMY": "22-05-2009", "dateDMY": "22-05-2009",

34
print/cover.html Normal file
View File

@ -0,0 +1,34 @@
<!doctype html>
<html>
<head>
<style type="text/css">
body {
height: 100%;
}
#text {
text-align: center;
margin-top: 40%;
font-size: 24px;
font-family: "Courier New";
}
a {
text-decoration: none;
color: #000;
}
</style>
</head>
<body>
<div id="text">
THE RADIA PHONE TAP(E)S <br />
May - July 2009 <br />
Complete Time-Coded Transcripts <br />
as available with Audio on <br />
<a href="http://pad.ma">http://pad.ma</a> <br />
</div>
</body>
</html>

View File

@ -1,19 +1,31 @@
body { body {
font-family: "Courier New"; font-family: "Courier New";
font-size: 14px; font-size: 14px;
width: 75%; width: 100%;
margin-left: 10px; margin-left: 10px;
} }
.people {
font-size: 16px;
font-style: italic;
margin-bottom: 6px;
}
.sub { .sub {
width: 80%;
margin-bottom: 12px; margin-bottom: 12px;
page-break-inside: avoid;
}
.subs {
page-break-before: avoid;
} }
.subText { .subText {
overflow: auto;
overflow: hidden;
margin: 0; margin: 0;
font-family: "Courier New"; font-family: "Courier New";
width: 100%;
white-space: pre-wrap; /* css-3 */ white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */ white-space: -pre-wrap; /* Opera 4-6 */
@ -29,14 +41,23 @@ body {
.title { .title {
font-size: 18px; font-size: 18px;
margin: 0; margin: 0;
margin-bottom: 4px; margin-bottom: 0px;
page-break-after: avoid;
} }
.datetime { .datetime {
font-weight: bold; font-weight: bold;
margin-bottom: 16px; margin-bottom: 16px;
page-break-before: avoid;
page-break-after: avoid;
} }
.fileWrapper { .fileWrapper {
margin-bottom: 32px; margin-bottom: 32px;
} }
.headerWrapper {
page-break-after: avoid;
page-break-inside: avoid;
}

View File

@ -2,15 +2,103 @@ from jinja2 import Template
from os.path import join from os.path import join
import json import json
import codecs import codecs
import re
def do(): def do():
data = json.load(open("chronoPrint.json")) data = json.load(open("chronoPeople.json"))
people = json.load(open("people.json"))
i = 1 i = 1
for d in data: for d in data:
d['serial'] = i d['serial'] = i
i += 1 i += 1
d['bios'] = []
for p in d['people']:
if people.has_key(p):
d['bios'].append({
'name': p,
'bio': people[p]
})
else:
print "Error: %d, %s" % (d['serial'], p,)
t = Template(open("template.html").read()) t = Template(open("template.html").read())
s = t.render({'files': data}) s = t.render({'files': data})
out = codecs.open("out.html", "w", encoding="utf-8") out = codecs.open("out.html", "w", encoding="utf-8")
out.write(s) out.write(s)
out.close() out.close()
def clean_titles():
data = json.load(open("chronoPeople.json"))
for d in data:
title = d['title']
d['title'] = cleanTitle(title)
out = open("chronoPeople.json", "w")
out.write(json.dumps(data, indent=2))
out.close()
def cleanTitle(string):
regex = re.compile(r'\(.*?\)')
return re.sub(regex, "", string).strip()
def peoplejson():
f = open("people.txt")
o = ''
for line in f:
o = o + line.strip().replace("\n", "") + ",\n"
out = open("people.json", "w")
d = "{" + o[0:-1] + "}"
print d
out.write(d)
out.close()
# out.write(json.dumps(json.loads(d), indent=2))
# out.close()
'''
def doPersons():
radias = json.load(open("chronoPrint.json"))
people = json.load(open("people.json"))
for r in radias:
r['people'] = []
title = r['title']
for p in people.keys():
if title.find(p) != -1:
r['people'].append(p)
o = open("chronoRadiaPeople.json", "w")
o.write(json.dumps(radias, indent=2))
o.close()
'''
def radiaToChrono():
radias = json.load(open("radiaPeople.json"))
chronos = json.load(open("chronoPrint.json"))
x = 0
for r in radias:
chronos[x]['people'] = radias[x]['people']
x += 1
print x
out = open("chronoPeople.json", "w")
out.write(json.dumps(chronos))
out.close()
'''
def addIndexes():
people = json.load(open("chronoRadiaPeople.json"))
x = 0
short = []
for p in people:
index = x
p['index'] = x
x += 1
if len(p['people']) == 0:
short.append({
'index': index,
'title': p['title'],
'people': []
})
out = open("chronoRadiaPeopleIndexed.json", "w")
out.write(json.dumps(p, indent=2))
out.close()
out2 = open("peopleToBeFixed.json", "w")
out2.write(json.dumps(short, indent=2))
out2.close()
'''

File diff suppressed because it is too large Load Diff

55
print/people.json Normal file
View File

@ -0,0 +1,55 @@
{"Navika Kumar": " Political and Economy Editor, Times Now",
"Rashmi Pratap": "Journalist, Economic Times",
"Rahul Joshi": "Executive Editor, Economic Times and Channel Head, ET NOW",
"Sridharan Ramakrishnan/R. Sridharan": "Senior Editor (News & Trends), ET NOW",
"Jaideep Bose": "Editor-in-Chief, Times of India",
"M.K. Venu": "Managing editor, Financial Express",
"G. Ganapathy Subramaniam": "National Policy Editor, ET NOW and Assistant Editor, Economic Times",
"Shankkar Aiyar": "Managing Editor, India Today",
"Senthil Chengalvarayan": "Managing Editor, CNBC TV 18",
"Rajdeep Sardesai": "Editor-in-chief, CNN-IBN",
"Prabhu Chawla": "Editor-in-chief, The New Indian Express",
"Barkha Dutt": "Group Editor, NDTV",
"Rakesh Hari Pathak": "Economic Bureau Chief, PTI",
"Vir Sanghvi": "Editorial Director, Hindustan Times Group",
"Upender": "Unknown?",
"Surojit": "Unknown?",
"K. Venugopal": "Editor, Hindu Business Line",
"Rajathi Ammal": "Karunanidhi's wife",
"A. Raja": "Telecom Minister, DMK",
"Kanimozhi": "Karunanidhi's daughter, DMK",
"N.K. Singh": "IAS and MoP, Rajya Sabha",
"Sunil Arora": "IAS, Ex-Indian Airlines Chairman",
"Rohit Khanna": "Associate Director, Vaishnavi Corporate Communications, (Radia's company)",
"Manoj Warrier": "Executive Director, Vaishnavi Corporate Communications, (Radia's company)",
"Daljeet": "Employee, Vaishnavi Corporate Communications, (Radia's company)",
"Yatish Wahal": "Associate Director, Vaishnavi Advisory Services Pvt.Ltd (Radia's company)",
"Srini": "Employee, Neucomm,(Radia's company)",
"Vishal Mehta": "CEO, Vaishnavi Corporate Communications, (Radia's company)",
"Ratan Tata": "Chairman, Tata Sons, Tata Group",
"Srinath Narasimhan": "CEO, Tata Communications",
"Mr S. Padmanabhan, Paddy": "Executive Director-Operations, Tata Power",
"Noel Tata": "MD, Tata International",
"Venkat": "Executive Secretary to R. Tata",
"Shalini Singh": "Head, Corporate Communications, TATA Power",
"Cecilia": "Unknown?",
"Mukesh Ambani": "Chairman & MD - Reliance Industries Ltd.",
"PMS Prasad": "Executive Director, Reliance Industries Ltd.",
"Manoj Modi": "Head of Retail, Reliance Industries Ltd",
"K R Raja": "Chief accountant, Reliance Industries Ltd",
"Tarun Das": "Former Chief, Confederation of Indian Industry (CII)",
"Ranjan Bhattacharya": "Hotelier and Political lobbyist",
"Suhel Seth": "Lobbyist, Counselage India, TV personality",
"R.K. Chandolia": "Personal secretary to A Raja",
"Poongothai Aladi Aruna": "MLA and a minister in Tamil Nadu Government",
"Pradip Baijal": "ex-TRAI chairman, partner in Neosis (Radia's company)",
"Jehangir Pocha": "Chief Editor and part owner, News X",
"Sunil Jain": "Indian Express/Business Standard columnist",
"Manish": "Employee, Bangalore office, Vaishnavi Corporate Communications, (Radia's company)",
"Harinder Singh": "Chairman and MD of Realistic Realtors",
"Sanjay": "Sanjay Chandra of Unitech?",
"Dorai": "Employee Vaishnavi Corporate Communications, (Radia's company)?",
"Baiju Biju": "Unknown?",
"Atul": "Employee Vaishnavi Corporate Communications, (Radia's company)?",
"Madhav": "Unknown?"
}

View File

@ -6,10 +6,15 @@
<body> <body>
{% for f in files %} {% for f in files %}
<div class="fileWrapper"> <div class="fileWrapper">
<h3 class="title"><span class="counter">{{ f.serial }}. </span>{{ f.title }}</h3> <div class="headerWrapper">
<div class="datetime"> <h3 class="title"><span class="counter">{{ f.serial }}. </span>{{ f.title }}</h3>
<div class="date">Date: {{ f.dateStr }}</div> {% for person in f.bios %}
<div class="time">Time: {{ f.time }}</div> <div class="people"><span class="personName">{{ person.name }}</span>: {{ person.bio }}</div>
{% endfor %}
<div class="datetime">
<div class="date">Date: {{ f.dateStr }}</div>
<div class="time">Time: {{ f.time }}</div>
</div>
</div> </div>
<div class="subs"> <div class="subs">
{% for s in f.subs %} {% for s in f.subs %}