Hans de Goede wrote:
Ivo Manca wrote:
> Hans de Goede wrote:
>
>> Ivo Manca wrote:
>>
>>
>>> Hey Richi Plana,
>>>
>>> Before the user can download any "third-party app", he must accept
the same licenses that he has to accept when he's manually downloading the program
from the website. We will use Autodownloader's capabilities for this.
>>>
>>> In the case of Adobe Reader, we'll first show:
>>>
>>> "By downloading software from the Adobe web site, you
>>> agree to the terms of our license agreements, including that you agree
>>> not to use Adobe Reader software with any other software, plug-in or
>>> enhancement which uses or relies on Adobe Reader when converting or
>>> transforming PDF files into other file formats."
>>>
>>> And then a dialog with the contents of
http://www.adobe.com/products/acrobat/acrreula.html
>>>
>>>
>>>
>> Hmm,
>>
>> autodownloader will need to be modified then to be able to display the content
>> of an url in one of the accept boxes, because we do not have permission to
>> distribute adobe's eula.
>>
>> Regards,
>>
>> Hans
>>
>>
>>
> I already suspected that we needed to modify autodownloader one way or
> another, so this can be done.
> I was not sure whether or not it was allowed to distribute an eula
> though, but I had my suspections.
>
> Is it allowed to just download the EULA's text to the window, or do we
> also have to leave the whole page intact?
>
>
IANAL, but I think just downloading the text will be fine (but how do we
extract it from the webpage?)
Regards,
Hans
Seems quite easy? Just download the whole page
(
http://www.adobe.com/products/acrobat/acrreula.html), then delete
everything above "<h1 class="adobereader">Adobe
Reader</h1>" and below
the next occuring "<!-- InstanceEndEditable -->".
You could add a fail-back check to be sure it _could_ be a valid EULA
(no way to check for sure, I suppose), and notice the user that the
source can not be downloaded because the EULA can't be found if it does
not pass the check. You could use a regexp for instance in combination
with a minumum size..
If problems arise, or the layout is changed, the autodownloader file
just needs to be updated.
Example for a sample autodownloader file:
[MESSAGE]
[
URL]http://www.adobe.com/products/acrobat/acrreula.html[/URL]
[MESSAGE_START]<h1 class="adobereader">Adobe
Reader</h1>[/MESSAGE_START]
[MESSAGE_END]<!-- InstanceEndEditable -->[/MESSAGE_END]
[FORMAT]HTML[/FORMAT]
[CHECK]some RegEXP magic[/CHECK]
[MINSIZE]20480[/MINSIZE]
[/MESSAGE]
I would personally say that this will at least show that you take the
best effort to be sure the user sees and accept the EULA, but is it
enough, or overkill?
Ivo