User Tools

Site Tools


new_rotation_content

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
new_rotation_content [2017/04/07 15:20] adminnew_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.
  
 +Quick reminder: Embed content displays as part of your site. External content (like FHG) displays separately.
  
-When you add content it takes sometime to process it. When you import galleries they are added with status "to_grabso you won't see it right awayThen gallery_grabber processes galleries and add to activePleasebe patient.+**Basic FHG option** - Standard FHG import (called "Regular Links 2 FHGin the demo)This is external contentNew rotation makes FHG convenient for multiniche sites and archives—navigation and sorting are auto-generatedand thumbnails rotate. Import URLs normally in Rotation - Import.
  
 +**Sponsor FLV Embed** - Create embed content from sponsor videos. This displays as part of your site. Embed videos have two parts: player and video file. Sponsors can provide this in two ways:
  
-**Note** All galleries are dynamic, that means you will not file real files like /gallery/cool_gallery/index.html on FTPThose links are virtual, galleries are created 'on-the-fly'. it's fast and very useful for adds and so on.+  - 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 thumbnailYou 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.
  
 +The demo shows the second option (Sponsor FLV Embed and Sponsor FLV 2).
  
-**Basic FHG** - it'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 +Here'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
  
-Example, script will create thumbs from gallery+</code>
  
-pattern: URL +**Custom Galleries**
  
 +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.
  
-if you have ready made thumbs add it to import string and pattern+Here's what happens: you provide an FHG URL, the script creates a custom gallery, auto-generates thumbnails, and adds them to rotation.
  
-patternURL|thumb_url+**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.
  
 +**Create Custom Galleries** - Enable this option.
  
-**Sponsor FLV Embed** - you can create custom galleries from sponsor's content and even hotlink movies from sponsor's host. There are 2 options: +**Grab Options explained:**
-   +
-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.+
  
 +- **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.
  
-pattern: Embed Code|thumb_url 
  
 +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 sponsor can give you url to flv or mp4 video file+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
  
-pattern: FLV URL|thumb_url 
  
  
-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.+===== Custom galleries from ZIP =====
  
-How Many Thumbs from each gallery ? = ie How Many Thumbs do you want to create for this video.+Create custom galleries from ZIP archives (ZIP only). In Import, paste the URL to the ZIP file in the Url field.
  
-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.+Note: galleries from archives are always custom galleries, and content must be downloaded (DL ALL), not hotlinked.
  
 +===== Custom galleries from other sources =====
  
-===== Custom Galleries From FHG =====+Create galleries from a directory of files. Files must be named numerically: 1.jpg, 2.jpg, or 1.avi, 1.mpg. Thumbnails should be tn_1.jpg, tn_2.jpg.
  
-You can create custom galleries (ie galleries at your host) from sponsor's FHGsUse section **Create Custom Galleries**Example:+Place files in scj/tmp/somenameIn Import, enter somename as the URLIf the URL lacks http:, the script treats it as a folder name in /scj/tmp/.
  
-{{:import_custom.jpg|}} 
  
 +===== Editing Custom Gallery =====
  
-In this example script will take all content from http://sponsor/some_gallery.html and create custom gallery at your host. +In List Thumbseach thumbnail has 2-4 action links:
-**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'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.+**Edit Thumb** - modify the thumbnail. 
 +**Edit Item** - edit the gallery'rotation settings (how it appears in rotationdescriptions, 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.
  
-**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 135x180, while for thumbs for custom galleries we use 180x200.+===== Import: Tag-based and Filter keywords =====
  
 +When importing, specify the category (group) for new thumbnails. Beyond regular categories, there are 2 special options:
  
-**Embed Template** basically there are some template for each type of content ie for flash galleriesimage 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 exampleyou 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.+  * **Tag based** - Galleries automatically enter a category if their tag matches the category name exactly. 
 +  * **Filter keywords** - In group settingslist keywords to filter galleries. The script searches in alt textdescription, and tags. Syntax: | = OR, space = AND, = NOT. Example: car|truck -moto matches galleries with "car" OR "truck" but NOT "moto".
  
-**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.+By defaultthe script finds partial word matchesTo refine searches:
  
 +**Quotes ""** - Match exact phrases. **"word1 word2"** matches "word1 word2 zzzz" but not "word1 zzz word2" (words must be adjacent).
  
-===== Interesting about import content =====+**^ start of word** - **word** normally matches "words" and "prewords". Use **^word** to match "word" and "words" only (word at the start).
  
-  If you dont have ready-made thumbs - script can create it from almost any content. +**$ = end of word** **word** normally matches "word" and "words"Use **word$** to match "word" only (exact word or word at the end).
-  If you have ready-made thumbs - select 'Thumb' in patternIf you have more then 1 thumb - separate with comma. +
-  Script can Parse video, ie 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 host, but this functionality available in paid version only+
  
-  
-===== Import: Tag based and Filter keywords ===== 
  
-When you import galleries you have to select a group. +If your group names exactly match names in the import, use the Groups (Categories) option in the pattern.
-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.  +**scj_unfiltered** When using ImportSets, some galleries may fail keyword filteringCreate 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.
-  * 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 +===== Import: Separate descriptions =====
  
 +When using slave descriptions, you can add the correct slave description during import. See Pattern.
  
-**""** 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.+===== Convert to Custom Gallery =====
  
-**^ = a word starts with** for example  **word** works both for **words** and **prewords**, caz both of those words has 'word' inside itIf you need exactly **word** you have to use **^word** - and script will find **word**, **words** and so on, but not **preword**+Convert existing galleries to custom galleriesBefore version 50, you had to delete and re-add them. Now go to Rotation - Import and select "Convert to custom galleries" in Extra Options.
  
-**$ a word ends with** the same as  **^** but for the end of word+===== 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.1491578459.txt.gz · Last modified: (external edit)