<commit_before># spottr

[![Build Status](https://secure.travis-ci.org/ffffranklin/spottr.svg?branch=master)](https://travis-ci.org/ffffranklin/spottr)
[![Dependency Status](https://david-dm.org/ffffranklin/spottr.svg)](https://david-dm.org/ffffranklin/spottr)

A tumblr blog proxy that converts XML tumblr logs to JSON

## Tumblr Template

The following template is required to create a valid content source for spottr 

```xml
<?xml version="1.0"?>
<!-- 

Spottr XML Theme
https://github.com/ffffranklin/spottr

Version: 0.0.10

Made by <NAME> 

-->
<data>
  <!-- Title -->
  <Title>{Title}</Title>
  <PlaintextTitle>{PlaintextTitle}</PlaintextTitle>
  <JSTitle>{JSTitle}</JSTitle>
  <JSPlaintextTitle>{JSPlaintextTitle}</JSPlaintextTitle>
  <URLEncodedTitle>{URLEncodedTitle}</URLEncodedTitle>

  <!-- Name --><commit_msg>#12 Updating template README instructions<commit_after># spottr

[![Build Status](https://secure.travis-ci.org/ffffranklin/spottr.svg?branch=master)](https://travis-ci.org/ffffranklin/spottr)
[![Dependency Status](https://david-dm.org/ffffranklin/spottr.svg)](https://david-dm.org/ffffranklin/spottr)

A tumblr blog proxy that converts XML tumblr logs to JSON

## Tumblr Template

The following template is required to create a valid tumblr content source for 
spottr. Just copy the XML below and place it in your tumblr theme HTML editor. 

```xml
<?xml version="1.0"?>
<!-- 

Spottr XML Theme
https://github.com/ffffranklin/spottr

Version: 0.0.10

Made by <NAME> 

-->
<data>
  <!-- Title -->
  <Title>{Title}</Title>
  <PlaintextTitle>{PlaintextTitle}</PlaintextTitle>
  <JSTitle>{JSTitle}</JSTitle>
  <JSPlaintextTitle>{JSPlaintextTitle}</JSPlaintextTitle>
  <URLEncodedTitle>{URLEncodedTitle}</URLEncodedTitle>

  <!-- Name -->
{'fraction_non_alphanumeric': 0.15756541524459614, 'fraction_numerical': 0.007963594994311717, 'mean_word_length': 4.922558922558922, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 2, '>': 35, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7071068', 'n_tokens_mistral': 638, 'n_tokens_neox': 604, 'n_words': 123}