User Tools

Site Tools


new_rotation_content

Differences

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

Link to this comparison view

Next revision
Previous revision
new_rotation_content [2014/01/29 18:04] – external edit 127.0.0.1new_rotation_content [2026/03/21 10:11] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== New Rotation Content ====== ====== New Rotation Content ======
  
-How to add content , create different types of galleries. You can see demo of all types here [[http://demo.smartcj.com/]], you can also use all types of galleries within one site.+This covers how to populate your site with content.
  
-Reminder: embedded galleries (custom galleries) - galleries created from some content at your server (your galleries), external galleries - galleries at other hosts (FHG for example).+View all content options at http://demo.smartcj.com/. You can mix different options even within a single category.
  
-**Basic FHG** - it's regular links to FHG (Regular Links 2 FHG in Demo). External galleries. Why you would like to use new rotation here ? usually you'll get links like /out.php?url=http://sponsor.com/gallery/idnex.html&p=80 With new rotation you'll get links like /gallery/cool_gallery/index.html +Quick reminder: Embed content displays as part of your site. External content (like FHG) displays separately.
  
-Examplescript will create thumbs from gallery+**Basic FHG option** - Standard FHG import (called "Regular Links 2 FHG" in the demo). This is external content. New rotation makes FHG convenient for multiniche sites and archives—navigation and sorting are auto-generatedand thumbnails rotate. Import URLs normally in Rotation - Import.
  
-{{:import_fhg.jpg|}}+**Sponsor FLV Embed** - Create embed content from sponsor videos. This displays as part of your site. Embed videos have two partsplayer and video fileSponsors can provide this in two ways:
  
 +  - Sponsor provides full embed code (starts with <object etc.). Their player handles playback and can include ads. Add these galleries normally, selecting the embed code field in the pattern.
 +  - Sponsor provides a video URL (usually FLV) and thumbnail. You play it with your player and add your own ads. A free player is included (scj/tube/player). In Pattern, select FLV URL and FLV Preview Thumb. If you omit the preview thumb but have a thumb, the script uses the thumb as preview (and vice versa). Optionally set the video size in import; if omitted, the preview thumbnail size is used. Content defaults to the content_custom_flv template.
  
-if you have ready made thumbs - add it to import string and pattern+The demo shows the second option (Sponsor FLV Embed and Sponsor FLV 2).
  
-{{:import_fhg2.jpg|}}+Here's an example import format: 
 +<code> 
 +Pattern: FLV_URL|desc|preview_thumb|thumb 
 +Example import string: 
 +http://sponsor.com/1.flv|best movie|http://sponsor.com/preview.jpg|http://sponsor.com/preview.jpg
  
 +</code>
  
-**Sponsor FLV Embed** - you can create custom galleries from sponsor's content and even hotlink movies from sponsor's host. There are 2 options: +**Custom Galleries**
-   +
-Sponsors gives you embedded code (usually starts with <embed or <object or <script), for example many tube sites. This video will be embedded in your site so you can show your ads at the same page plus you dont waste your bandwidth.+
  
 +The script can build its own galleries from FHG and display them as embed or external content. The Import section has a **Create Custom Galleries** option. Custom galleries can be created separately, but we'll cover them here as part of new rotation.
  
-{{:import_embed.jpg|}}+Here's what happensyou provide an FHG URL, the script creates a custom gallery, auto-generates thumbnails, and adds them to rotation.
  
 +**Grab Options** - Three options determine what you host vs. what the sponsor hosts (FHG Embed Hotlink, FHG Embed Half, FHG All Hosted). These settings affect how galleries are created (e.g., http://demo.smartcj.com/gallery/Amazing_pictures_/3110566a5b8e9ea081e91400d0c47083/index.html). Rotation thumbnails follow the same rules.
  
-Also sponsor can give you url to flv or mp4 video file+**Create Custom Galleries** - Enable this option.
  
-{{:import_embed2.jpg|}}+**Grab Options explained:**
  
 +- **Hotlink everything** - thumbnails stay on the sponsor's host, saving your bandwidth. However, hotlinking may be blocked, and sponsor thumbnails may not fit your design.
 +- **Make Thumbs\Hotlink big** - the script creates custom thumbnails using your crop profile, but links to large images/videos point to the sponsor's host.
 +- **DL All** - download all gallery content to your server and create thumbnails using your crop profile.
  
-Note, there some options. In this example we already have a thumb for movie. If you dont have - set Parse Video = Yes, and script will create thumbs. Make sure you have path to Mplayer in Rotation - Settings. 
  
-How Many Thumbs from each gallery ? = ie How Many Thumbs do you want to create for this video.+To summarize: configure rotation settings above, then gallery creation settings in Create Custom Galleries. The names FHG Embed Hotlink, FHG Embed Half, and FHG All Hosted reflect the hosting choice.
  
-Also in this example we give just 1 thumb and this thumb will be a thumb for rotation + preview thumb (image you see before movies starts to play). If you want to add separate thumb as a preview image - select FLV Preview in Pattern.+Custom galleries are flexible—for example, you can crop gallery images (like FHG Skimmed). Embed galleries display as part of your site using your chosen template (editable in Rotation - CMS Pages). Default gallery links look like http://your_domain/gallery/some_desc/kjjh3289_ETO_MD5_of_gallery/index.html
  
  
-===== Custom Galleries From FHG ===== 
  
-You can create custom galleries (ie galleries at your host) from sponsor's FHGs. Use section **Create Custom Galleries**. Example:+===== Custom galleries from ZIP =====
  
 +Create custom galleries from ZIP archives (ZIP only). In Import, paste the URL to the ZIP file in the Url field.
  
-{{:import_custom.jpg|}}+Notegalleries from archives are always custom galleries, and content must be downloaded (DL ALL), not hotlinked.
  
-If this example script will take all content from http://sponsor/some_gallery.html and create custom gallery at your host. +===== Custom galleries from other sources =====
-**Grab Options** DL All,  means script will download all content (all images and movies from gallery) to you server (note, you can host content at separate server, not the same where script is). Other options here - hostlink all, and hotlink only big content (ie big images and movies). Usually you need Dl All option. You can see example in demo (FHG Embed Hotlink , FHG Embed Half  и FHG All Hosted)+
  
-Also you can limit content type by using **Add only this type of content** - sometimes FHG's has both images and moviesbut if for some reason you want only one type of content - set it here99% - you dont have to select anything here.+Create galleries from a directory of files. Files must be named numerically: 1.jpg2.jpg, or 1.avi, 1.mpg. Thumbnails should be tn_1.jpg, tn_2.jpg.
  
-**Crop Profile** - note that we use 2 different [[Rotation Crop Profiles]]. We create these 2 crop profiles in advance in Rotation - Settings - Crop profiles, because we need thumbs of 2 sizes. One for main pages of our site (135x180) and another one for custom galleries (180x200). In field "Script will create thumbs using Crop Profile" we use crop profile 135x180while for thumbs for custom galleries we use 180x200.+Place files in scj/tmp/somename. In Importenter somename as the URL. If the URL lacks http:, the script treats it as a folder name in /scj/tmp/.
  
  
-**Embed Template** basically there are some template for each type of content ie for flash galleries, image and movie galleries. And script will choose proper template for gallery type (autodetect in this example). But you can have more then 1 template for each content type. For example, you want completely different design of custom galleries for sponsor1, and another design for sponsor2 - you can add your templates in Rotation - CMS and select it when you import content.+===== Editing Custom Gallery =====
  
-**Limit Image content size** - basically script download big images for image galleries "as is"but if you want to show surfer such big images - you can setup max size of image here. If image size more then you setup script will resize it.+In List Thumbseach thumbnail has 2-4 action links:
  
 +**Edit Thumb** - modify the thumbnail.
 +**Edit Item** - edit the gallery's rotation settings (how it appears in rotation, descriptions, groups, etc.).
 +**List Thumbs** - view all thumbnails in the gallery (shows all if the gallery has multiple thumbnails).
 +**Gallery Edit** - if the thumbnail belongs to a custom gallery, edit the gallery here. You can manually reorder thumbnails.
  
-===== Interesting about import content =====+===== Import: Tag-based and Filter keywords =====
  
-  * If you dont have ready-made thumbs - script can create it from almost any content. +When importingspecify the category (groupfor new thumbnails. Beyond regular categoriesthere are 2 special options:
-  * If you have ready-made thumbs - select 'Thumb' in pattern. If you have more then 1 thumb - separate with comma. +
-  * Script can Parse videoie create thumb from video files, but you need mplayer (type path to it in Rotation - Settings) +
-  * You can host content of custom galleries at separate hostbut this functionality available in paid version only+
  
-  +  * **Tag based** - Galleries automatically enter a category if their tag matches the category name exactly. 
-===== Import: Tag based and Filter keywords =====+  * **Filter keywords** - In group settings, list keywords to filter galleries. The script searches in alt text, description, and tags. Syntax: | OR, space AND, - NOT. Example: car|truck -moto matches galleries with "car" OR "truck" but NOT "moto".
  
-When you import galleries you have to select a group. +By default, the script finds partial word matchesTo refine searches:
-But there are 2 special options+
  
-  Tag based select groups based on tagsie if you have a group 'car' and new gallery has a tag 'car' it will be added to that group.  +**Quotes ""** Match exact phrases. **"word1 word2"** matches "word1 word2 zzzz" but not "word1 zzz word2" (words must be adjacent).
-  Filter keywords - script will search for those keywords in description+title+tags.  Format: | = OR , space = AND , - = NOT. For example, car|truck -moto  means 'there is should be a word car OR truck AND should NOT be moto 'You you can use brackets to create complex conditions, for example  (car|truck) (red|white)+
  
-Script searches keywords as a part of any word, but you can limit it +**^ = start of word** - **word** normally matches "words" and "prewords". Use **^word** to match "word" and "words" only (word at the start).
  
 +**$ = end of word** - **word** normally matches "word" and "words". Use **word$** to match "word" only (exact word or word at the end).
  
-**""** if you want to find 2 words together , for example **"word1 word2"** will work in this case **word1 word2 zzzz**, but won't for **word1 zzz word2**, as in this case those 2 words are not together. 
  
-**^ = a word starts with** for example  **word** works both for **words** and **prewords**, caz both of those words has 'word' inside it. If you need exactly **word** you have to use **^word** - and script will find **word**, **words** and so on, but not **preword**+If your group names exactly match names in the import, use the Groups (Categories) option in the pattern.
  
-**$ = a word ends with** the same as  **^** but for the end of word+**scj_unfiltered** - When using ImportSets, some galleries may fail keyword filtering. Create a group named scj_unfiltered (exact spelling), and unmatched galleries will go there. You can hide it from your site and periodically review it for new keywords.
  
 +===== Import: Separate descriptions =====
 +
 +When using slave descriptions, you can add the correct slave description during import. See Pattern.
 +
 +===== Convert to Custom Gallery =====
 +
 +Convert existing galleries to custom galleries. Before version 50, you had to delete and re-add them. Now go to Rotation - Import and select "Convert to custom galleries" in Extra Options.
 +
 +===== Import/Export Shows/Clicks =====
 +
 +Transfer thumbnails with CTR data (impressions and clicks). Export creates new fields, and import accepts the same format.
 +
 +===== Import Rating =====
 +
 +Import gallery ratings as numbers. For example, import 5 for one vote with rating 5. For complex ratings, use #1*10,2*20 (10 votes of 1, 20 votes of 2).
 +
 +===== Import images for Custom galleries =====
 +
 +Import a list of images for custom galleries using the Image List field. It's comma-separated. You can set thumbnails directly instead of having the script generate them.
 +
 +Example format: desc|imagelist
 +
 +bla-bla|http://image_url1#http://thumb_url1,http://image_url2#http://thumb_url2
  
-**scj_unfiltered** - if you import galleries using filter keywords - some galleries might not get into the DB, due to keywords. You can create a group 'scj_unfiltered'  and all those galleries will be added to that group, so you can look into it later and adjust keywords. 
new_rotation_content.1391018677.txt.gz · Last modified: (external edit)