<br><br><div class="gmail_quote"> [21:52] <bemasc> iwikiwi: Read only handles pdf, and nothing else. You still need all the conversion filters.<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[21:54] <bemasc> (Read actually can handle a few things other than pdf, but not jpg, png, odt, txt, html...)<br>
[21:55] <bemasc> iwikiwi: now, if you want, you could write a "Print" activity that can handle all these types. Presumably, that means including conversion filters inside the Print activity<br>[21:55] <iwikiwi> bemasc, yep, just checked the documentation, and I want that particular case implemented, that is transfer a file from pendrive, then get it printed, so either I make all file export capable activities print or I just make a cups-pdf printing activity.<br>
[21:55] <iwikiwi> bemasc: exactly my thoughts :D<br>[21:56] <CIA-56> Sugar: sayamindu sucrose-0.84 * r091d2ead5ef3 /po/es.po: Commit from Sugar Labs: Translation System by user sayamindu. 18 of 18 messages translated (0 fuzzy).<br>
[21:56] <bemasc> iwikiwi: This "Print" activity could actually be built into Read, or it could be its own new Activity.<br>[21:57] <bemasc> That's something you will have to decide.<br>[21:57] <iwikiwi> bemasc: building it into read seems reasonable, but I wonder if I can add odf viewing to read... if i can everything is solved<br>
[21:58] <bemasc> iwikiwi: of course you can. Just convert to pdf and open with evince.<br>[21:59] <-- kristianpaul has left this server (Read error: 110 (Connection timed out)).<br>[21:59] <iwikiwi> bemasc: okay, so thats internal again, done. this way journal wont have to be disected much.<br>
[22:00] <bemasc> I like this idea. The cool thing about Read is the interface, which is designed to be usable (on the XO) in tablet mode.<br>[22:00] <bemasc> If you do it this way, then as an additional benefit, Read will gain the ability to view all these different formats.<br>
[22:01] <iwikiwi> bemasc: okay, so when ever we open files in read, we do this, cups-pdf internally makes a temp object which read displays, and when we exit read, the object is destroyed, mean while within read it can be made a journal item, or sent to moodle or direct printing<br>
[22:02] <iwikiwi> very nice!<br>[22:02] <bemasc> That sounds good to me.<br>[22:02] <bemasc> I'm not sure if you even need cups-pdf, but it might be the easiest way.<br>[22:03] <iwikiwi> hmm, what is the harder way you have in mind?<br>
[22:03] <bemasc> I mean, you want Read to be able to open a .odt file.<br>[22:03] <bemasc> To do that, the .odt has to be converted to pdf, using libabiword.<br>[22:04] <CIA-56> Sugar: sayamindu sucrose-0.84 * rfcd966df0030 /po/es.po: Commit from Sugar Labs: Translation System by user sayamindu. 18 of 18 messages translated (0 fuzzy).<br>
[22:04] <Nubae> tomeu: my ip seems to be blacklisted and I cant commit to git, alsroot suggested I ssh proxy via your server<br>[22:04] <iwikiwi> bemasc: actually this is easier, as i wont be needing to write a new filter<br>
[22:04] <bemasc> So you have two options: you can add a odt filter to cups, and then use cups-pdf.<br>[22:04] <tomeu> heh<br>[22:04] <bemasc> Or you can write your own code to say "it's an odt, so I'll use libabiword to convert it".<br>
[22:04] <tomeu> Nubae: don't have an account in shell.sl.o?<br>[22:05] <Nubae> nope<br>[22:05] <bemasc> iwikiwi: I don't know which way is easier.<br>[22:05] <tomeu> Nubae: you should!<br>
[22:05] <tomeu> bernie: happen to be around?<br>
[22:05] <alsroot> tomeu: last time i blacklisted shell.sl.o :) -- but it could be resolved now<br>[22:05] <CIA-56> Sugar: sayamindu sucrose-0.84 * r5cf22accff75 /po/es.po: Commit from Sugar Labs: Translation System by user sayamindu. 18 of 18 messages translated (0 fuzzy).<br>
[22:05] <tomeu> alsroot: the blacklist is not per host and per key?<br>[22:06] <tomeu> hmm<br>[22:06] <Nubae> heh, yeah, it hasnt been needed till now<br>[22:06] <tomeu> no, may be per host<br>[22:06] <Nubae> I've deleted my key several times and recreated<br>
[22:06] <alsroot> tomeu: it it per IP-key then its ok<br>[22:06] <Nubae> without luck<br>[22:06] <tomeu> Nubae: can you comment in the ticket already open about it?<br>[22:06] <tomeu> this is really a pita<br>
[22:06] <Nubae> yep<br>[22:06] <iwikiwi> bemasc: I take 2nd, but I think I will leave this one bit till 6th, so i can actually play with the abiword framework code :p<br>[22:07] <iwikiwi> i have endsem exams running atm<br>
<br><br>pretty much sums it up, its either use pyabiword or cups-pdf for internal conversion :D<br>
</blockquote></div><br>