<commit_before># YAPgen

A simple framework for generating a Yahoo! Application Platform application from an RSS feed

## Installation

* Click the `download` button above or 
* Clone the repository: `git clone git://github.com/erikeldridge/yapgen2.git`

## Usage

### Requirements

* PHP 5.2

### Initialization

* Upload this directory to your server
* Create a new YAP application
* Set the base URL of the app to point to the location of this directory on your server
* Set the small view default code to

        <yml:include>Loading ...</yml:include>
        
* Preview your app


<commit_msg>edited usage instructions to match trial run<commit_after># YAPgen

A simple framework for generating a Yahoo! Application Platform application from an RSS feed

## Installation

* Click the `download` button above - OR - 
* Clone this repository: `git clone git://github.com/erikeldridge/yapgen2.git`

## Usage

### Requirements

* PHP 5.2

### Initialization

* Upload this directory to your server
* Create a new YAP application
* Set the "Application URL" of the app to point to the location of this directory on your server
* Set the "Small View Default Content" to:

        <yml:include>Loading ...</yml:include>
        
* Click the "Save" button
* Click the "Preview" button to see your app

### Customization

#### Setting the feed url

* Open index.php in a text editor
* Set the "$feedUrl" variable at the top of the file to point to the RSS feed of your choice
* Save the file and reload the app

{'fraction_non_alphanumeric': 0.07824933687002653, 'fraction_numerical': 0.003978779840848806, 'mean_word_length': 3.730407523510972, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5125338', 'n_tokens_mistral': 435, 'n_tokens_neox': 414, 'n_words': 202}