Re: [hugin-ptx] Hugin's website rework (long term project)

2011-08-16 Thread Carlos Eduardo G. Carvalho (Cartola)
Hi, I usually prefer to put everything in a site from one only place. Could
the flickr image be passed to the final user by a hugin url? The problem is
that some places, like the place where I work, try to block some sites.
Here, for example, we can't access facebook, flickr, orkut and many other
sites. Here there are about 100.000 computers (its a big company). So, if
its possible I always try to get what I need and pass to the user from my
own url, doing like a proxy job.

The problem is that with a partial content blocked the page gets
misconfigured and the user might not even notice that it was supposed to
have a picture there, so he just thinks it is a bad or an ugly page. It's
better when the whole page gets blocked, because in this case there is a
message saying that and the user will possibly try to access the page at
home then.

[ ]s,

Carlos E G Carvalho (Cartola)
http://cartola.org/360



2011/8/16 cri 

> I've implemented a webpage that retrieve a random photo from flickr
> with tags "hugin" and "360x180" using the phpflickr class [1]. As you
> cans see in the preview [2], it is intended to substitute the current
> header in the Hugin's website.
> The script gets an array of 100 photos tagged with hugin and 360x180,
> then randomly selects one of 100, check for the ratio to be 2:1 and
> for the height to be 250 px (Medium size from flickr) and finally sets
> the selected photo as a x-repeated background. Over the background it
> also adds the title and author linked respectively to the photo's and
> author's page.
>
> I also would like to rework the layout and graphics of the website (in
> the long period) so I'm here to ask a way to experiment with the
> website without braking the actual one. Do I have to create a branch?
> is there a kind of beta repo for the website where I could work?
> While in the process I would also like to make the website
> translatable via gettext. I've never done this before so I will try to
> learn it during the process.
>
> I'm pretty new to php, css, and html but I've already a first
> experience: I've reworked the GnuCash website. To see what I've
> achieved for that project, take a look at the original website [3] and
> to my version [4].
>
> Any help or comments is highly appreciated.
>
> [1] http://phpflickr.com/
> [2] http://www.crimodels.webatu.com/phpFlickr-3.1/hugin-bg.phtml
> [3] http://www.gnucash.org/
> [4] http://www.gnucash.org/beta/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hugin and other free panoramic software" group.
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugin-ptx@googlegroups.com
> To unsubscribe from this group, send email to
> hugin-ptx+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx
>

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Hugin's website rework (long term project)

2011-08-16 Thread Yuval Levy
Hi Cristian,

On August 16, 2011 02:42:03 am cri wrote:
> I also would like to rework the layout and graphics of the website

Thanks.  That's sorely needed.  I've been just fixing the current layout for a 
(slow) start, making the HTML more CSS-designable.

I like what you did with GNUcash.  It is true to the original site in spirit 
and form.  It is an elegant remake in 2010 style of a 1990 site.  I recognize 
the same site, matured and evolved, easier on the eye.


> (in the long period) so I'm here to ask a way to experiment with the
> website without braking the actual one. Do I have to create a branch?
> is there a kind of beta repo for the website where I could work?

Yes, please do branch.  I think you can use the existing repository.  If I am 
not mistaken Bruno's scripts that sync the live website from the repo will 
keep syncing the default branch, so what you do on the development branch will 
not affect the live website itself.

IIRC we are more or less maxed-out on our webspace use on SF but we can look 
for an alternative to sync your development branch with an alternate webspace 
to show work in progress until it is deemed fit to replace the current 
website.  If I am not mistaken, you get some user website space with your 
SourceForge account (/home/project-web/.u/), but I have never tried to 
use it.

I plan to replace the current pull sync (the live site is synced by a cron 
job) with a push sync using Hg post-commit hooks once I get around SF's 
permissions and file system layout (I already have it working on servers I 
control).  It will make the updates practically instant and it will save on 
resources and dependencies (no need to run a separate server with cron jobs).


> While in the process I would also like to make the website
> translatable via gettext.

Why via gettext?  I am not familiar with the use of gettext for translating 
website and am interested to hear the pros and cons.  Given SF's limited 
resources, I would not want to introduce more server-side dynamics (PHP) than 
strictly necessary and since the texts are static we do not need to waste CPU 
cycles on looking up and replacing strings dynamically, which is my 
understanding of how gettext works.  What is wrong with static translations of 
HTML documents?


> I've never done this before so I will try to learn it during the process.

We can all learn from each other while Hugin progresses.


> I've implemented a webpage that retrieve a random photo from flickr

I have left the most critical part of my feedback to the end because I wanted 
to first show you that your work is appreciated and that I am aware of the 
need to improve that website.  But...

... I find the introduction of a Flick dependecy for such an important part of 
the website a very bad idea.

Yuv


signature.asc
Description: This is a digitally signed message part.


Re: [hugin-ptx] Hugin's website rework (long term project)

2011-08-16 Thread David Haberthür
Hey Cri.

On Tue, Aug 16, 2011 at 08:42, cri  wrote:
> I've implemented a webpage that retrieve a random photo from flickr
> with tags "hugin" and "360x180" using the phpflickr class [1]. As you
> cans see in the preview [2], it is intended to substitute the current
> header in the Hugin's website.

Great, now I just need to correctly tag all my equirectangular panos
on flickr :)

> I'm pretty new to php, css, and html but I've already a first
> experience: I've reworked the GnuCash website. To see what I've
> achieved for that project, take a look at the original website [3] and
> to my version [4].
Just taking a quick look at your rework I can say that I like it.
You've kept the original "ideas" and introduced some fresh wind.
Looking forward to see the beta-version of hugins new website.

David

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Hugin's website rework (long term project)

2011-08-16 Thread Seb Perez-D
On Tue, Aug 16, 2011 at 08:42, cri  wrote:

> I've implemented a webpage that retrieve a random photo from flickr
> with tags "hugin" and "360x180" using the phpflickr class [1]. As you
> cans see in the preview [2], it is intended to substitute the current
> header in the Hugin's website.
>

You need to check for the permissions as well - not all photographers will
be happy to see one of their "All rights reserved" image in an unlicensed
website. Only grab images which are CC-licensed - otherwise you need to get
in touch with the photographers to request permission.

Best,

Seb

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


[hugin-ptx] Hugin's website rework (long term project)

2011-08-15 Thread cri
I've implemented a webpage that retrieve a random photo from flickr
with tags "hugin" and "360x180" using the phpflickr class [1]. As you
cans see in the preview [2], it is intended to substitute the current
header in the Hugin's website.
The script gets an array of 100 photos tagged with hugin and 360x180,
then randomly selects one of 100, check for the ratio to be 2:1 and
for the height to be 250 px (Medium size from flickr) and finally sets
the selected photo as a x-repeated background. Over the background it
also adds the title and author linked respectively to the photo's and
author's page.

I also would like to rework the layout and graphics of the website (in
the long period) so I'm here to ask a way to experiment with the
website without braking the actual one. Do I have to create a branch?
is there a kind of beta repo for the website where I could work?
While in the process I would also like to make the website
translatable via gettext. I've never done this before so I will try to
learn it during the process.

I'm pretty new to php, css, and html but I've already a first
experience: I've reworked the GnuCash website. To see what I've
achieved for that project, take a look at the original website [3] and
to my version [4].

Any help or comments is highly appreciated.

[1] http://phpflickr.com/
[2] http://www.crimodels.webatu.com/phpFlickr-3.1/hugin-bg.phtml
[3] http://www.gnucash.org/
[4] http://www.gnucash.org/beta/

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx