This repository has been archived by the owner on Dec 14, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathegg_showflickrset.txt
12 lines (10 loc) · 5.79 KB
/
egg_showflickrset.txt
1
2
3
4
5
6
7
8
9
10
11
12
# egg_showflickrset 0.21
# Displays a flickr set
# Eric Eggert
# http://yatil.de/
# .....................................................................
# This is a plugin for Textpattern - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................
YTo5OntzOjQ6Im5hbWUiO3M6MTc6ImVnZ19zaG93ZmxpY2tyc2V0IjtzOjY6ImF1dGhvciI7czoxMToiRXJpYyBFZ2dlcnQiO3M6MTA6ImF1dGhvcl91cmkiO3M6MTY6Imh0dHA6Ly95YXRpbC5kZS8iO3M6NzoidmVyc2lvbiI7czo0OiIwLjIxIjtzOjExOiJkZXNjcmlwdGlvbiI7czoyMToiRGlzcGxheXMgYSBmbGlja3Igc2V0IjtzOjQ6ImhlbHAiO3M6NzU1OiI8aDE+ZWdnX2ZsaWNrcnNldDwvaDE+DQoNCjxwPlRha2VzIHRoZSBmb2xsb3dpbmcgcGFyYW1ldGVyczoNCg0KPGRsPjxkdD48Y29kZT5zZXQ8L2NvZGU+PC9kdD48ZGQ+SUQgb2YgdGhlIHNldCB0byBkaXNwbGF5LCB5b3UgY2FuIGV4dHJhY3QgdGhhdCBlYXNpbHkgZnJvbSB0aGUgVVJMOiA8Y29kZT5odHRwOi8vd3d3LmZsaWNrci5jb20vcGhvdG9zL3lhdGlsL3NldHMvPHN0cm9uZz4gNzIxNTc2MTg3MTcwMjU2NTQgPC9zdHJvbmc+LzwvY29kZT48L2RkPjxkdD48Y29kZT5tYXg8L2NvZGU+PC9kdD48ZGQ+U2hvd3MgeCBwaG90b3MuIElmIHRoZXJlIGFyZSBtb3JlIHBob3RvcyBpbiBhIHNldCwgYSBsaW5rIHRvIHRoZSBzZXQgaXMgaW5jbHVkZWQuPC9kZD48ZHQ+PGNvZGU+YWxpZ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