User Tools

Site Tools


tool:software:textpattern

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tool:software:textpattern [2019/06/10 06:34]
rjt [Links] Added plug-ins tag
tool:software:textpattern [2020/05/12 09:27] (current)
rjt gotta sleep, so saving it here
Line 3: Line 3:
 I've mostly used [[wordpress]] for self-hosted blogging (and [[tumblr]] for not-self-hosted),​ but, out of curiousity, decided to give another platform a shot when reviving my [[project:​musuc|m~u~s~u~c]] blog that I lost in [[tumblr#​whoops|the great whoops of 2019]]. I've mostly used [[wordpress]] for self-hosted blogging (and [[tumblr]] for not-self-hosted),​ but, out of curiousity, decided to give another platform a shot when reviving my [[project:​musuc|m~u~s~u~c]] blog that I lost in [[tumblr#​whoops|the great whoops of 2019]].
  
-**Textpattern** has a bit more of a DIY-feel that wordpress, not just in that it feels less slick and corporate, but that it feels easier to hack at it! A thing I'm really starting to appreciate is the ability to add //forms//, which are just chunks of HTML you can insert where you want, including passing in whatever attributes you setup.+**Textpattern** has a bit more of a DIY-feel that Wordpress, not just in that it feels less slick and corporate, but that it feels easier to hack at it! A thing I'm really starting to appreciate is the ability to add //forms//, which are just chunks of HTML you can insert where you want, including passing in whatever attributes you setup.
  
-Browseing ​their Github issue tracker probably was the deciding factor in trying this particulat ​CMS, because they had recently moved to stop including any third-party links. So nothing to block in my ad-blocker :3 No JQuery, no Google/​AJAX,​ no FontAwesome---+Browsing ​their [[software:Github]] issue tracker probably was the deciding factor in trying this particular ​CMS, because they had recently moved to stop including any third-party links. So nothing to block in my ad-blocker :3 No JQuery, no Google/​AJAX,​ no FontAwesome---
  
 ===== Forms ===== ===== Forms =====
 Here'​re some //forms// I've made. Here'​re some //forms// I've made.
 +
 +==== misc/​media_audio_file ====
 +For adding audio file embeds that are inside a ''<​figure>''​ element. Should be expanding for not-ogg, but whatever).
 +
 +A bunch of this is specific to my blog, but a bunch is also generally useful I think! Used very similar forms for a bunch of media. The size is set in the theme'​s [[language:​css|stylesheet]].
 +
 +<code text>
 +<​figure>​
 + <audio src="​files/<​txp:​yield name="​file"​ />​.ogg"​ type="​audio/​ogg"​ controls></​audio>​
 + <​figcaption><​cite><​txp:​yield name="​title"​ /></​cite>​ <span class="​title-artist-separator"></​span>​ <span class="​artist"><​txp:​yield name="​artist"​ /></​span></​figcaption>​
 +</​figure>​
 +</​code>​
 +
 +=== Usage ===
 +''<​txp::​media_audio_file file=""​ title=""​ artist=""​ />''​
 +
 +Where ''​file''​ is the name of the file, without it's extension.
 +
 +==== misc/​media_audio_bandcamp ====
 +Bandcamp embed with big coverart.
 +
 +<code text>
 +<​figure>​
 + <iframe class="​embed-bandcamp"​ src="​https://​bandcamp.com/​EmbeddedPlayer/​track=<​txp:​yield name="​track"​ />/​size=large/​minimal=true/"​ seamless></​iframe>​
 + <​figcaption><​cite><​txp:​yield name="​title"​ /></​cite>​ <span class="​title-artist-separator"></​span>​ <span class="​artist"><​txp:​yield name="​artist"​ /></​span></​figcaption>​
 +</​figure>​
 +</​code>​
  
 ==== misc/​media_video_youtube ==== ==== misc/​media_video_youtube ====
-For adding Youtube embeds that are inside a ''<​figure>''​ element. ​A bunch of this is specific to my blog, but a bnch is also generally useful I think!+For adding Youtube embeds that are inside a ''<​figure>''​ element. 
 <code text> <code text>
 <​figure>​ <​figure>​
Line 34: Line 62:
 span.no-break { white-space:​nowrap } span.no-break { white-space:​nowrap }
 </​code>​ </​code>​
- 
  
 === Usage === === Usage ===
Line 42: Line 69:
 Plug-ins I'm using, or just curious about. Plug-ins I'm using, or just curious about.
  
-  * [[git>​drmonkeyninja/​arc_youtube]] - Youtube embeds.\\ I ended up wanting my videos included within the ''<​figure>''​ element, so I've my own in //form// form ;3 (see above) +  * [[github>​drmonkeyninja/​arc_youtube]] - Youtube embeds.\\ I ended up wanting my videos included within the ''<​figure>''​ element, so I've my own in //form// form ;3 (see above) 
-  * [[https://​stefdawson.com/​sw/​plugins/​smd_tags|smd_tags]] - Textpattern has a weird tw%%o-%%category-oer-post limitation, but this (and some other) plugins are a good workround. This was easier to setup that [[https://​www.rainskit.com/​reference/​497/​trutags-usage-instructions|tru_tags]],​ so I've stuck with it.+  * [[https://​stefdawson.com/​sw/​plugins/​smd_tags|smd_tags]] - Textpattern has a weird two-category-per-post limitation, but this (and some other) plugins are a good workround. This was easier to setup that [[https://​www.rainskit.com/​reference/​497/​trutags-usage-instructions|tru_tags]],​ so I've stuck with it.
  
 ==== Adding ==== ==== Adding ====
-AN interesting thing about Textpattern plug-ins is that to install them you just copy and bunch of plain text into a field in the GUI.+An interesting thing about Textpattern plug-ins is that to install them you just copy bunch of plain text into a field in the GUI.
  
 ===== Theming ===== ===== Theming =====
 Haven'​t //really// dug in to this yet, but it's on my to-do list. Haven'​t //really// dug in to this yet, but it's on my to-do list.
 +
 +  * [[tildegit>​rjt/​textpattern-theme-musuc]] - Theme for [[[[project:​musuc|my music blog]].
  
 ===== Links ===== ===== Links =====
-  * [[git>​drmonkeyninja/​awesome-textpattern]] - lots of links.+  * [[github>​drmonkeyninja/​awesome-textpattern]] - lots of links.
   * [[https://​textpattern.tips/​|textpattern.tips]]   * [[https://​textpattern.tips/​|textpattern.tips]]
 +
 +===== See Also =====
 +  * [[language:​textile]] - Textpattern'​s markup language.
  
 {{tag>​blogging cms plug-ins textpattern theming}} {{tag>​blogging cms plug-ins textpattern theming}}
  
tool/software/textpattern.txt · Last modified: 2020/05/12 09:27 by rjt