Category: WebDevelopment

Analyse zu Facebooks Datenbestand ÜBER DICH

By TeK, October 29, 2011 00:34

highly interesting website on facebooks data collection  (en/de)

Analyse zu Facebooks Datenbestand ÜBER DICH

Hintergrund. Jede Person in der EU hat das Recht eine Kopie von allen Daten, die ein Unternehmen über die Person speichert, zu bekommen. Wie das geht findest du unter “Daten verlangen!”. Nachdem wir die ersten Antworten auf unsere Auskunftsersuchen angesehen haben, war klar: Das muss veröffentlicht werden. Wir wollen mit dieser Aktion Facebook transparenter machen und Usern eine Vorstellung von den Daten geben, die Facebook von uns speichert.

Share

Facebook Privacy Policy

By TeK, September 3, 2011 01:23

Facebook complains about heise.de code to protect privacy by a two click-step confirmation , before heise even published the news and the code!

The prob is, that each Facebook button sends user tracking data to Facebook, just by visiting the site, without clicking any ‘like’/'share’… button. Heise implemented a system, which requests a click-confirmation before sending any userdata to Facebook/twitter/../../../.

We have been waiting for this code since a long time and implemented it in a similar way on our own sites so we are very happy about heise.de fighting for our rights once again!

This story reveals the true intentions of FB once again: they veeery keen on tracking the complete surf history of $any web-user: they know $every page you visit!1!

A very simple profile of a web user is worth min. >10€ on the ad-market – for sure much more if you can deliver tracking data like that..

References:

http://heise.de/-1230906

http://heise.de/-1333879

http://heise.de/-1335658

Share

Create favicon.ico on Linux in 2 links

By ZBog, August 14, 2011 19:24

1. Tutorial Image editing:

U can create the image as .png with the Gimp Software, here the tutorial:

http://egressive.com/tutorial/creating-a-multi-resolution-favicon-including-transparency-with-the-gimp

Drupal interface did not like the.ico format directly saved from GImp, did not appear so I have saved a .png in Gimp and converted …


2. Post Image converting:

Post about converting .png to .ico with the Terminal on Linux:

http://steve.kargs.net/hosting/create-a-website-faviconico-with-ubuntu-linux/

Designers: Dont Panic !

If the lines of code make bleed your eyes, but you still want to work with Open Source Software … work with Linux developer or

get Ubuntu Studio optimized for Graphic Design, then all the tools are already include into your Operative System.

In the case you have all the tools:

you ´ll need to go into the directory where you have the png

$ cd Documents/design/logo/

and use just the last line from the article

$ icotool -o favicon.ico -c favicon.png

Share

:first-letter pseudo-element for drop cap

By ZBog, July 19, 2011 17:03

If you want the  first-letter  of a <p>aragraph to look like Drop Cap (old fashion newspaper style), with a bigger letter floated to the left every browser shows up something different.

The main problem is to align in vertical the letter to the top of the text,the property vertical-align apply on the first-letter pseudo-element only if the float is set to none, that is a waste, the target I want to reach is big Letter with text around.  if I dont float the results, it shows a line break after the first line high like the height of the first letter.

Mozilla Firefox is the only one understanding a margin or padding from the top, so thumb up for this browser.

The developer tools presented in other browsers than Firefox dont allow me to edit the CSS in live, in order  to see faster which solution I can take.  for the other browsers I used the edit & try option of http://www.w3schools.com

IE6

This pretty article http://www.satzansatz.de/cssd/pseudocss.html discusses the classic IE behavior for typo and spacing errors,  IE6 requires an empty space between the class/id name and the comma and a space between the class/id  and the {} to read the properties

SOLUTIONS: Lets fight the Browser compatibility

  1. Using spans: create a span around the first letter is the mostly compatible solution, frequently used in the past, but does not work for dynamic created content, at least it does not without a script that add the span automagically
  2. insert line height and work on margin-bottom!
  3. Use a specified font for the first letter , where the uppercases are positioned into the font editor 4 pixel down to the bottom line (simply crazy for mostly common low payed jobs!)

thanks to this article (http://www.users.globalnet.co.uk/~arcus/html/dropcaps.html) I noticed that the margin bottom on the contrary of the margin-top it works in many browser!

Important is also the line height which forces the browser to think about the first letter like if was height like the text.

the results are still really different for each browser, that terrifies me and the letter  is frequently higher than the line. but acceptable.

HERE THE CODE:
/*TODO check IE6*/

p:first-child:first-letter{
float:left; /* Make the text flow around the letter */

font-size:3em;
margin:4px 4px 0px 0px;/*for firefox that is the only one reading the margin-top*/
margin-bottom:-0.25em;/*for the other browsers, Chrome, Opera*/
line-height:0.97em; /*Adjustment mainly for IE , help position the letter on the same height then the text,  that has 0.97em line-height/
}

Share

Centering a div in Vertical

By ZBog, May 24, 2011 16:57

Sprachkurier.de : the website is made from another crew, but the owner asked me to center the website vertically in the browser, and voila´

the idea is to give a vertical dimension of an empty div of 50% to get the middle of the height, and a margin bottom negative of the value of half of the height of the content DIV that need to be centered. That means that the content need a fixed height to be positioned.

here the code

——————————-
HTML
<div class=”floater”> </div>
<div id=”content”>
Content here
</div>

CSS
/* floater is required to center the content wrapper in vertical*/
.floater {
float:left;
height:50%;
min-height:120px;
margin-bottom:-400px;
border:1px solid transparent;
}
#content {/*main wrapper centered thanks to the 2 properties clear and position*/
clear:both;
position:relative;

height: 800px
}
———————————
The content is vertically center using this simple method, that I found in this  CSS blog ; but also if was declared as cross browser method,  the result was not working so well: with Firefox that was sometimes not rendering the floater as emptx div so that the content was jumping around, I  implemented the code adding an “invisible” border without background color to don´t let jump the div  and a min-height to preserve visibility on different screen size.

To make the border invisible I did not specified the color, or the color could be the same of the background.

NOW is a bit more cross browser ;)

If you work on small monitors and you are unsure if is working because the website is anyway higher then the browser, is enough to use CTRL -  to make the website proportions smaller.

Valid XHTML 1.0 Strict

Those are the regular cross browser tests we make : Internet exploder 6, 8, 9; Safari, Chrome, Opera, Firefox

on linux, mac and pc.

Monitors dimensions: 1920×1080, 1280×800, 4:3 and 16:9, netbook and Sony Ericson mobile Walkman and Android mobile phone
Nevertheless after we used our machines we let run some test on this web utility http://browsershots.org/

———————————————————————————————————

Share

CSS gradient background and Mobile browsers

By ZBog, May 18, 2011 21:09

While making the layout for a mobile app with the help of jquerymobile, I have questioned myself about the gradient background, for web and mobile.

Looks like the mostly used mobile browser is Opera Mobile – Opera mini,that since the end of 2010 replace “Web (mobile) Browser for S60″ the default browser for the mostly sold operative system Symbian OS (originally Nokia propertary made after Open Source!),. Has a stable position with “29.2% of worldwide smartphone market share in 2011″ (Wikipedia).

2nd  place is the Android that is increasing users!
3rd place for Iphone with iOS and Safari.
The mobile browsers are born around 1996, in text only mode, around 2006 start the usage of CSS2.1, but the hardware developed so fast that there is no old browser engine to fight with,  thee is just the choice or they cannot show a graphic layout or they render better of your others monitor.
So the list can be restricted to:

/* Safari, Chrome, Skyfire, Nokia Series 60, Polaris, BlackBerry, Android*/
background: -webkit-linear-gradient(bottom, #006353, #c7dad6);

/*Portable Firefox, Firefox Mobile Fennec 1.0 Alpha 3, SeaMonkey Portable 2.0.14*/
background: -moz-linear-gradient( center bottom, rgb(0,98,83) 50%, rgb(0,113,94) 50%, rgb(199,218,214) 99%);

/*Opera Mini & Opera Mobile*/
background: -o-linear-gradient(bottom, #006353, #00715e, #c7dad6);

/*IE mobile */
-msfilter:”progid:DXImageTransform.Microsoft.gradient
(startColorStr=’#81aea7′, EndColorStr=’#81aea7′)”


For the computers Windows XP is always on the top usage, also if Windows 7 is increasing, but with a luck windows user start to leave Internet Explorer that is still on the top but decreasing, followed from Firefox and an increasing number of Chrome users. The fact that IE6 is still there make us brrrrr, IE6 is going down but is anyway counting almost the same users like Safari.
The CSS code for the computer web compatibility is really long:


/* W3C Standard */
background:linear-gradient(bottom, #81aea7, #c7dad6);

/* Safari 4-5, Chrome 1-9 */
background-image: -webkit-gradient(
linear,left bottom,left top,
color-stop(0.5, rgb(0,98,83)),
color-stop(0.99, rgb(199,218,214))
);

/* Safari 5.1+, Chrome 10+ */
background: -webkit-linear-gradient(bottom, #006353, #c7dad6);

/*Mozilla/Gecko (Firefox >= 3.6 etc) */
background: -moz-linear-gradient(
center bottom,
rgb(0,98,83) 50%,
rgb(0,113,94) 50%,
rgb(199,218,214) 99%
);

/* Opera 11.10+ */
background: -o-linear-gradient(bottom, #006353, #00715e, #c7dad6);

/*IE 5.5 – 7*/
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr=’#006353′, EndColorStr=’#c7dad6′, GradientType=0);

/*IE 8+*/
-msfilter:”progid:DXImageTransform.Microsoft.gradient
(startColorStr=’#81aea7′, EndColorStr=’#81aea7′)”

You could add even one more exception, for a while Opera used an external svg to create the gradient, but the work is not worth.


So many lines that makes me nostalgic about the old way to do it, that now can be used as fallback in emergency:

/* fallback, Opera <=10 */
background-color: #1a82f7;
background: url(images/linear_bg_2.png);
background-repeat: repeat-x;


Linkography

mobile browser counter

http://gs.statcounter.com/#os-ww-monthly-201004-201104

http://en.wikipedia.org/wiki/Usage_share_of_web_browsers

http://en.wikipedia.org/wiki/Mobile_browser

thanks for the great work:

http://www.normansblog.de/demos/browser-support-checklist-css3

Share

JUnEx – Kontakt- und Infotag in Lichtenberg

By TeK, May 2, 2011 09:11

lonex-berlin.de/junex

Wann: 12.05.2011 von 10:00 bis 19:00 Uhr

Wo: Rathaus Lichtenberg, Möllendorffstraße 6, 10367 Berlin

Wie viel: Die Veranstaltung ist für alle Besucher kostenlos!


Das Forum für junge Unternehmen und Gründer

Der LONEX e.V. veranstaltet am 12.05.2011 zum 2. Mal einen Kontakt- und Infotag für junge Unternehmen und Gründer.

Im Rathaus Lichtenberg wird es dazu neben Kurzseminaren und Workshops einen Ausstellerbereich und ein Forum geben, um gezielt Kontakte zu knüpfen und Informationen auszutauschen.
Das Hauptanliegen des JUnEx Kontakt- und Infotages ist die Vernetzung der einzelnen Teilnehmer und Besucher. Informationen und Kontakte kompakt an einem Tag, lautet das Motto.
Ein Onlineportal ersetzt die sonst übliche Anmeldung. Hier können Aussteller, Referenten, Unternehmen und Gründer ihr Profil eintragen und so gezielt Synergien schaffen.
Es haben sich bereits zahlreiche Unternehmen registriert. Diese werden sich am 12.05. persönlich begegnen und haben auch im Anschluss über das Portal die Möglichkeit, Geschäftsbeziehungen zu pflegen und zu erweitern.

Die Veranstaltung wird in folgende Bereiche unterteilt:

Informationsbereich

Der Informationsbereich beinhaltet Kurzseminare und Workshops. Diese werden in der Zeit von 10:00 – 19:00 Uhr angeboten werden. Die Schwerpunktthemen sind Gründung und Festigung, Franchising, Gemeinschaftsgründungen und Kooperationen, Nachfolge als Chance für Existenzgründer, Zukunftsmarkt Gesundheitswesen und Wellness.

Kontaktbereich

Der Ausstellerbereich ermöglicht es schnell und unkompliziert einen Überblick über Finanzierungs-, Förder- und Beratungsmöglichkeiten zu erhalten, des Weiteren bietet er Informationen zu Gründung und Festigung von Unternehmen.  Hier werden sich auch junge Unternehmer und Unternehmerinnen  präsentieren.
Im Netzwerkbereich können Sie  Kontakte zu knüpfen und Erfahrungen auszutauschen. So können Kooperationen entstehen, Ideen wachsen und wichtige Erkenntnisse gewonnen werden. Bereits im Vorfeld der Veranstaltung möchten wir alle Besucher des JUnEx Kontakt- und Infotages bitten ein eigenes Profil zu erstellen. Mit ihrem Profil haben Sie die Möglichkeit sich nicht nur aktiv am JUnEx Kontakt- und Infotag zu beteiligen, sondern weiterhin die Möglichkeit sich auch auf der JUnEx- Plattform zu vernetzen.

Synoptx.net wird mit einem Stand vertreten sein – Besuchen Sie uns!

“Free Web Consulting” – am Synoptx Stand auf der JUnEx Messe :: Wir beantworten Ihre Fragen zum Thema Webseiten und Webservices

Share

www.lifelike-figures-com – Released!

By TeK, May 1, 2011 17:08

Die neue Webseite von Lisa-B ist online:  www.lifelike-figures.com

Dieses Webprojekt wurde mit dem WordPress Blog-System realisiert.  Dazu wurde ein Template entwickelt, um die speziellen Layout-Funktionen zu realisieren. Die Info-Seite enthält Unterseiten mit animierten ‘Popups’ (Pop-ins?)

Den Kern der Seite bilden animierte Bildergalerien zur Darstellung des Portfolios von Lisas Arbeiten.

Lisa Buescher Webseite


Valid CSS!

Valid XHTML 1.0 Transitional

Share

Neue Plugins im Synoptx-WordPress-Paket

By TeK, April 6, 2011 14:30

Bei der Entwicklung einiger WordPress-Internetseiten ist uns aufgefallen, dass diesem CMS ein paar Funktionen fehlen, die (inzwischen) wirklich jeder verwenden möchte.
Wir haben daher diese beiden Module entwickelt und integrieren diese von nun an neben weiteren Plugins auch in unser Standard-Wordpress-Paket:

Social Media Buttons
Facebook, Twitter, Xing, Delicious, MrWong, Linkarena und viele weitere Icon-Links als frei konfigurierbares Widget.

Metatags Plugin
Das WordPress System bietet nur die Möglichkeit, den Seitentitel mit dem Titel des Artikels zu versehen, aber es fehlen Felder für Keywords und Beschreibung, sowie die Möglichkeit, für jede Seite individuelle Werte zu setzen.

Dieses Plugin ermöglicht die Bearbeitung dieser Metatag-Felder für jede einzelne Seite und jeden Blog-Artikel:

  • <title> – Titel der Seite (wird in Suchmaschinenergebnissen angezeigt)
  • Description – Beschreibung
  • Keywords – Stichwörter

Das Plugin bietet die Möglichkeit, diese Metatags für beliebige Sprachen zu setzen und diese im Template-Quelltext zu integrieren.

Open Source Release
Beide Module sind Eigenentwicklungen von Synoptx.net und werden in Kürze auch als OpenSource (GPL Lizenz) veröffentlicht.

Share

Icecast, Rails, ntop, etherpad,… via Apache Webserver: ProxyPass

comments Comments Off
By TeK, January 12, 2011 01:23

web services logoA quick tip, how to map web-apps on random ports to the main apache webserver. This way you can run these services on subdomains or sub-directories and support SSL encrypted  https connection, even if it is not directly supported.

Take care to not open a proxy for everybody or it can be abused by spammers. “ProxyPass” combined with “ProxyRequests Off” is save.

If the original port is not used anymore, it can be closed in the firewall. Only for the icecast stream it is s useful to keep :8000 open. By mapping to an internal IP a address of a virtual machine, you can also forward to vservers.

The admin webinterface on /admin/ can be redirected by mod_rewrite to a secure SSL connection.

Example: Icecast ProxyPass to map webinterface on port 8000 to apache subdomoain (port 80)

<VirtualHost *:80>
   ... # your vhost here: ServerName, Logs, etc
   ...
   # Proxy ACL
   ProxyRequests Off
   <Proxy>
      Order allow,deny
      Allow from all
   </Proxy>
   # Proxy directives
   ProxyPass / http://192.168.1.7:8000/
   ProxyPassReverse / http://192.168.1.7:8000/
   ProxyPreserveHost on

   # redirect /admin to https:
   RewriteEngine On
   RewriteRule /admin.*  https://tv.example.com:443/admin/ [R]
</VirtualHost>

Example: Icecast ProxyPass to map admin webinterface on port 8000 to apache subdomoain (port 443)


<VirtualHost *:443>
   ... # your vhost here: ServerName, Logs, etc
   ...
   SSLEngine On

   # Proxy ACL
   ProxyRequests Off
   <Proxy>
      Order allow,deny
      Allow from all
   </Proxy>
   # Proxy directives
   ProxyPass / http://192.168.1.7:8000/
   ProxyPassReverse / http://192.168.1.7:8000/
   ProxyPreserveHost on
</VirtualHost>
Share
WordPress Open Source Blog System
SynOptX Lab Theme