![]() |
|
HTML Export Nasıl Yapılır ?
Tüm Scrip Listesi için buraya tıklayın
- HTML export için DivXTurk dizininde HTML dizinindeki Header, Body ve Footer örneklerinden faydalanabilirsiniz...
- MovieDB ile aynı değişkenler kullanılıyor.
- % ile başlayan değişkenlerden sonra bir boşluk koymanız gerekiyor... Koymazsanız bu değişken algılanamıyor...
- Değişkenlerin karakterlerinin hepsi de küçük harf olmalı... Sorun teşkil ederse yakında bu sorunu da hallederim...
- Kullanabileceğiniz değişkenlerin neler olduğunu yine MovieDB'nin helpinden copy/paste yaptığım script reference açıklamasını aşağıda görebilirsiniz...
- Script Anahtarları konusunda da sorun yaşamayacağınızı değerlendiriyorum. Bildiğimiz Dreamweaver veya Frontpage gibi veya kendiniz, web sayfası hazırlar gibi bir uygulama gerçekleştirecek, sadece linklere bahsi geçen değişkenlerden istediğiniz vereceksiniz.
- Örneğin, link olarak %movie_name yazarsanız DivXTurk programı tarafından çıktı yapılırken bu keyin göründüğü yer/yerlere sırası gelen filmin adı oturtulacaktır...
- Yani şunu benzeri bir html kodu olursa...
<a href="%movie_imdb_address"><b>%movie_name</b></a>
... Hem filmin adı görülecek, hem de buraya basıldığında IMdB adresine gönderilecek link ayarlanmış oluyor...- DivXTurk program dizininde HTML isimli bir klasör göreceksiniz... burada header, body ve footer olmak üzere üç adet html örnek verilmiştir... Bunların ışığında istediğiniz HTML çıktıyı yapabilirsiniz... Tamamen sizin kontrolünde... :-)
Örnek Body HTML
- Örnekte kullanılanlar :
- 1 Adet Resim ve üzerine basıldığında IMDb adresine giden bir Link için %movie_cover_file ve %movie_imdb_address anahtarları...
- Filmin Türkçe Adı için %movie_tr_name anahtarı...
- Filmin orjinal adı için %movie_name anahtarı ki %movie_imdb_name kullansaydık IMDb'den okunmuş adı görüntülünebilirdi...
- Filmin yapım yılı ve yine üzerine basıldığında filmin IMDb sayfasına giden link için
%movie_year ve %movie_imdb_address anahtarları...
- Filmin AVI çözünürlüğü için %movie_width ve %movie_height anahtarları...
- IMDb oyları ve oranları için %movie_rate ve %movie_vote anahtarları...
%movie_tr_name
%movie_name (%movie_year)
(%movie_width/%movie_height) [IMDb Adresi :%movie_imdb_address] (%movie_rate - %movie_vote)
<table border="0" cellspacing="0" cellpadding="0" width="640">
<tr>
<td valign="center" align="center" width="93" height="65"> </td>
<td valign="center" bgcolor="#FFFFFF" align="center" width="57" height="65"> <a href="%movie_imdb_address"> <img src="%movie_cover_file" width="49" border="0" height="61"></a></td>
<td valign="center" bgcolor="#FFFFFF" align="left" width="490" height="65"> <b>%movie_tr_name</b><br>
%movie_name <a href="%movie_imdb_address" class=metin2>(%movie_year)</a><br>
(%movie_width/%movie_height) <span class=metin5>[IMDb Adresi : <a href="%movie_imdb_address" class=metin5>%movie_imdb_address</a>]</span>
(%movie_rate - %movie_vote)</td>
</tr>
</table>
- Bu örneğin DivXTurk çıktısını görmek için tıklayın
Saygılarımla
Muharrem ARMAN (Ankara)
MSN : mrmcop@hotmail.com
ICQ : 1704918
DivXTurk : http://www.divxtr.org/divxturkScript Keys (Anahtarlar)
// Genellikle Başlık ve TABAN (Header ve Footer) Kısmında kullanılabilcek,
// dilerseniz diğer kısımlarda da kullanabileceğiniz anahtarla listesi// Anahtar açıklaması (DivXTurk) ile başlayanlar, DivXTurk programına özel olarak eklenmiş olanlardır... MovieDB ile çalışmaz...
%%
- % işaretini ekranda görmek istemeniz durumunda
- Only used so you can write normal '%' signs.%tab
- Tab karakteri kullanmak isterseniz.
- Returns a tab character (ASCII 9).%date_year
- Bulunduğunuz tarihinde YIL
- Returns the current year.%date_month
- Bulunduğunuz tarihinde AY
- Returns the current month.%date_day
- Bulunduğunuz tarihinde GÜN
- Returns the current day in month.%time_hour
- Bulunduğunuz SAAT
- Returns the current hour.%time_min
- Bulunduğunuz DAKİKA
- Returns the current minute.%time_sec
- Bulunduğunuz SANİYE
- Returns the current second.%nr_of_movies
- Listedeki film sayısı
- Return the total number of movies in the database.//Script reference (Movie/Body scripts)
//These reserved words can not be used in the head and foot script in export dialog.%movie_id
- Film Id'sini verir.
- Returns the movies ID.%movie_number
- Export için sıralı numaradır... Listedeki sıraya göre sıra no verir...
- This only makes sense while exporting. It returns the number in order of the exported movies. Starting at 1.%movie_name
- Film adını verir... (Veritabanındaki sizin verdiğiniz isim)
- Returns the title/name of the movie.%movie_tr_name
- (DivXTurk) Türkçe film adını verir.
- Turkish title/name of the movie.%movie_name_imdb
- (DivXTurk) IMDb'den gelen film adını verir.
- IMDb title/name of the movie.%movie_year
- Film yapım yılını verir.
- Returns the year the movie was made.%movie_type
- Film tipini verir. DVDRip (DivX) vb.
- Returns the type set for the movie. (DVDrip (DivX), DVD or SVCD for example).%movie_genre
- Film türünü verir.
- Returns the genre for the movie.%movie_director
- Filmin Yönetmenini verir.
- Returns the name of the director of the movie.%movie_rate
- IMDb kullanıcıları tarafından verilmiş filmin izlenme oranını verir.
- Returns the movies rating. Set by you or IMDB users.%movie_vote
- (DivXTurk) IMDb kullanıcıları tarafından verilmiş filmin oy sayısını verir.
- Returns the movies voting. Set by you or IMDB users.%movie_tagline
- İngilizce bir satırlık kısa tanım verir.
- Returns the tag line for the movie.%movie_plot
- İngilizce film özetini verir.
- Returns the plot outline for the movie.%movie_tr_plot
- (DivXTurk) Türkçe film özetini verir.
- Returns the Turkish plot outline for the movie.%movie_comment
- Film hakkındaki İngilizce yorumları verir.
- Returns the comment set for the movie.%movie_country
- Filmin yapıldığı Ülke'yi verir.
- Returns the country where the movie was made.%movie_language
- Filmin konuşma dilini verir.
- Returns the language spoken in the movie.%movie_has_subtitels
- Filmin izlendi/izlenmedi durumunu verir.
- If the subtitle box is checked in Movie Info dialog it returns 'Yes' else 'No'.%movie_has_subtitels
- Filmin altyazı kaydı varsa 'Ok' verir.
- Returns what subtitle's is set to in Movie Info dialog if the 'Subtitle' box is checked, else it returns '' (nothing).%movie_subtitle_language
- Filmin altyazı dil kaydını verir.
- Returns what subtitle's is set to in Movie Info dialog if the 'Subtitle' box is checked, else it returns '' (nothing).%movie_actorN_name
- Filmin N inci aktörünün adını verir. ( N görünen yere bir numara yazılır.)
- Returns the name of the actor number N in the movie.%movie_actorN_char
- Filmin N inci aktörünün oynadığı karakteri verir. ( N görünen yere bir numara yazılır.)
- Returns the name of the character number N in the movie.%movie_imdb_address
- Filmin IMDb adresini verir. Direkt link olarak kullanılabilir.
- Returns the IMDB address set for the movie.%movie_is_borrowed_by
- Ödünç verilmişse, filmi ödünç alan kişiyi verir.
- Returns the name of the person borrowing this movie right now.%movie_is_borrowed_since
- Ödünç verilmişse, filmin ödnüç veriliş tarihini verir.
- Returns the date someone started borrowing this movie. The format is YYYY-MM-DD.%movie_has_been_seen
- Film izlenmiş kaydını verir.
- If you have checked the box 'Ive seen this movie' in Movie Info dialog then this returns 'Yes', else it returns 'No'.%movie_cover_file
- Filmin afiş resminin adını verir. (Export edilen HTM resim dizinine kopayalanır.)
- Only makes sense while exporting. Returns the relative path the movie cover file (if exported).%movie_length_hour
- Filmin Saat:Dakika:Saniye cinsinden süresinin SAAT kısmını verir.
- Returns the hour part of the length of the movie.%movie_length_min
- Filmin Saat:Dakika:Saniye cinsinden süresinin DAKİKA kısmını verir.
- Returns the minuets part of the length of the movie.%movie_length_sec
- Filmin Saat:Dakika:Saniye cinsinden süresinin SANİYE kısmını verir.
- Returns the seconds part of the length of the movie.%movie_width
- AVI çözünürlüğünde Width (yatay nokta sayısı) değerini verir.
- Returns the width (in pixels) of the movies file(s).%movie_height
- AVI çözünürlüğünde Height (dikey nokta, diğer anlamda satır sayısı) değerini verir.
- Returns the height (in pixels) of the movies file(s).%movie_fps
- AVI FPS (kare/saniye) oranını verir.
-Returns the Frames per second value of the movies file(s).%movie_video_comp
- AVI Video Codec bilgisini verir.
- The compressor (in Avi files, codec) used to compress the video in the first movie file.%movie_video_frames
- AVI Toplam Kare Sayısını verir.
- The total number of video frames in the movies file(s).%movie_video_bitrate
- AVI Video Bitrate (Veri Oranı) verir.
- Returns the video bit rate of the first movie file.%movie_video_bitdepth
- AVI Video Bit Depth (nokta derinlik) değerini verir. (genellikle 24Bit olurlar)
- Returns the video bit depth for the first file. Values like 24 are common.%movie_audio_comp
- AVI Audio Codec bilgisini verir.
- The compressor (in Avi files, codec) used to compress the audio in the first movie file.%movie_audio_rate
- AVI Audio örnekleme frekansını verir.
- Returns the audio rate for the movies file(s). Values like 44100 and 48000 are common.%movie_audio_bits
- AVI Audio örnekleme bit derinliğini verir.
- Returns the audio bit depth for the first movies file. Values like 16 are common.%movie_audio_bitrate
- AVI Audio Veri Oranını verir.
- Returns the audio bit rate of the first movie file.%movie_audio_channels
- AVI Audio Ses Kanal Sayısını verir.
- Returns the number of audio channels in the first movie file.%movie_streams
- AVI Video ve Audio dizi sayısını verir. 1'i ses 1'i Video olmak üzere genelde 2'dir..
- Returns the number of streams in one of the movies files. Usually returns '2' (Video and Audio).%movie_nr_of_files
- Filmin CD sayısını verir.
- Returns the number of files added to movie.%movie_fileN_path
- N numaralı AVI'nin hangi dizinden geldiğini verir.
- Returns the path relative to drive for movie file number N. N can be any number from 1 to 2147483648 (But higher than 10 is unlikely).%movie_fileN_length_hour
- N numaralı AVI'nin Saat cinsinden uzunluğunun SAAT dilimini verir.
- Returns the hour part at the length of movie file number N.%movie_fileN_length_min
- N numaralı AVI'nin Saat cinsinden uzunluğunun DAKİKA dilimini verir.
- Returns the minutes part at the length of movie file number N.%movie_fileN_length_sec
- N numaralı AVI'nin Saat cinsinden uzunluğunun SANİYE dilimini verir.
- Returns the seconds part at the length of movie file number N.%movie_fileN_filesize
- N numaralı AVI'nin Megabyte cinsinden boyutunu verir.
- Returns the file size of movie file number N in Megabytes.%movie_fileN_created
- N numaralı AVI'nin dosya tarihini verir.
- Returns the date when movie file number N was created. The format is YYYY-MM-DD.%movie_fileN_info
- N numaralı AVI'nin film bilgisini verir.
- Returns the same info about movie file number N as File Info dialog.
- Son -