<commit_before>flickr-gallery
==============

A simple way to create an elegant gallery of your best photos hosted on Flickr.<commit_msg>Updated README with setup instructions<commit_after>flickr-gallery
==============

A simple way to create an elegant gallery of your best photos hosted on Flickr.

Prerequisites
-------------
- A webserver that is capable of executing PHP scripts
- A flickr account

Installation
------------
Copy all of this repositories files to your server.

Setup
-----
1. Open ´includes/html/head.htm´ and enter a sensible title for your new website and put it in the ´<title>´ tag.
2. Open ´includes/html/foot.htm´ with your favorite text editor and replace my details and profile links with yours. Delete everything you may not want to publish.
3. Open ´images.txt´, enter the IDs of the photos you want to publish, each in a separate line.
4. Launch your favorite web browser and navigate to `http://yourserver.com/flickr-gallery/generator.php`. This will parse your ´images.txt´ and build your website.
5. Done! You should be able to see your site at `http://yourserver.com/flickr-gallery`

Demo
----
I am using a slightly modified version of this gallery on my own website at http://jan-gerd.com.
{'fraction_non_alphanumeric': 0.10839445802770986, 'fraction_numerical': 0.004074979625101874, 'mean_word_length': 3.723076923076923, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3413936', 'n_tokens_mistral': 342, 'n_tokens_neox': 321, 'n_words': 169}