Zoque.Forum
Dirsek Teması:
Geri Dön Zoque.Forum » Webmaster Kaynaklari » ://www » Bu rss sistemini nasıl google ' in gadget lerine uyumlu hale getirebilirim ?


://www Web tasarımı ve internet ile ilgili olarak karşılaştığınız problemleri ve merak ettiklerinizi burada tartışabilirsiniz.

Yanıt
 
LinkBack Seçenekler
Old 11.06.2007   #1 (permalink)
 
unutulan's Avatar
 
Üyelik Tarihi: 08.07.2001
Yer: Sivas
Yaş: 27
Mesaj: 20
Bu rss sistemini nasıl google ' in gadget lerine uyumlu hale getirebilirim ?


Benim kodum şu şekilde ...

Kod:
<?XML version="1.0" encoding="windows-1254" ?>
<%
Response.Buffer = True
Response.ContentType = "text/XML"

Function Temizle(strInput)
	strInput = Replace(strInput,"&", "&amp;")
	strInput = Replace(strInput,"""", "&quot;")
	strInput = Replace(strInput,">", "&gt;")
	strInput = Replace(strInput,"<","&lt;")
	Temizle = strInput
End Function

strVersiyon = Temizle(Request.Querystring("tur"))

Select Case strVersiyon
	Case "en_cok_okunanlar"
		strAciklama = "En Çok Okunan Haberler"
		SQL = "SELECT * FROM tblHaberler WHERE durum=True AND onay=True ORDER BY okunma DESC"

	Case "en_cok_oy_alanlar"
		strAciklama = "En Çok Oy Alan Haberler"
		SQL = "SELECT * FROM tblHaberler WHERE durum=True AND puan > 0 AND oy_sayisi > 0 AND onay=True ORDER BY puan/oy_sayisi DESC"

	Case Else
		strAciklama = "Teknoloji Haberleri"
		SQL = "SELECT * FROM tblHaberler WHERE durum=True AND onay=True ORDER BY tarih DESC"
End Select
%>
<!--#include file="inc_ayarlar.ASP"-->
<RSS version="2.0">
<channel>
<title>Teknoloji Haberleri</title>
<copyright>Copyright (c) 2007 TeknoPortal </copyright> 
<link><%=strSiteAdresi%></link>
<description><%=Temizle(strSiteAdi)%>  Güncel <%=strAciklama%></description>
<language>tr-TR</language> 
<ttl>5</ttl> 
<image>
<title>TeknoPortal - Teknoloji Haberleri</title> 
<url>http://www.teknoportal.gen.tr/img/tekno_portal_rss.jpg</url> 
<link>http://www.teknoportal.gen.tr/</link> 
<width>140</width> 
<height>53</height> 
<description>TeknoPortal</description> 
</image>




<%
kdGenel.Open SQL, adoCon, 1, 3

i = 0
Do While i =< 10 And Not kdGenel.Eof
Response.Write "<item>"
Response.Write "<title>" & Temizle(kdGenel("baslik")) & "</title>"
Response.Write "<link>"& strSiteAdresi &"/haber_oku.ASP?haber="& Temizle(kdGenel("haberID")) &"</link>"
Response.Write "<description>" & Temizle(kdGenel("ozet")) & "</description>"
Response.Write "</item>"
	
i = i + 1
kdGenel.MoveNext
Loop

kdGenel.Close
%>
</channel>
</RSS>

Ama ben googlenin gadgetlerine uygun bir kod yazmak istiyorum , çünkü yazığım kodu gadget çözümleyemiyor ... Google sayfasında güzel bir açıklama vermiş ama benim gibi kod bilgisi zayıf bir insan buradan zor çözecek gibime geliyor . Sizce nasıl bir yol izlemeliyim , bu işi otomatik yapan script yada program var mı ? Ya da nasıl bir kod yazmalıyım ...

Alıntı:
http://www.google.com/apis/gadgets/p...tml#Submitting

Publishing to the Content Directory
Once you have designed, implemented, and tested your gadget, you may decide to submit it to Google to be published in the content directory. The submission process is the same if you want your gadget to be listed in the syndication directory. See Syndicated Gadgets for more information. This section lists the general steps you should follow in preparing any gadget to be published.

Step 1: Set your gadget preferences.
The Reference lists all of the <ModulePrefs> attributes that you can use to provide "meta" information about your gadget. Here is the information you should include in your gadget spec:

title
description. This attribute is important to let people know what your gadget does, particularly if it is not obvious.
author
author_email. This is so that Google and users of your gadget can contact you. You can use any email system, but you should not use a personal email address because of spam. One approach is to use an email address of the form helensmith.feedback+coolgadget@gmail.com in your gadget spec. gmail drops everything after the plus sign (+), so this email address maps to helensmith.feedback@gmail.com. If you need a gmail invitation to create a gmail address for your gadget, contact Google.
screenshot. This is a string that gives the URL for a gadget screenshot. This must be a well-formed URL, not a relative URL. This image must be on a public web site that is not blocked by robots.txt. PNG is the preferred format, though GIF and JPG are also acceptable. Gadget screenshots should be 280 pixels wide. The height of the screenshot should be the "natural" height of the gadget when it's in use. This helps users understand how much space a gadget will consume on their screen before they add it to their page. The screenshot should not have any whitespace above the gadget's blue header bar. Screenshots should show your full gadget, including its title bar, but nothing else. Alternatively, you can screenshot the gadget with the edit window open. Screenshots should not be resized or cropped. For quality and consistency, Google may take its own screenshots of a given gadget. If you strongly dislike such screenshots and prefer your own, contact Google.
thumbnail. Thumbnails are used in the content directory to give users a preview of a gadget. They should capture the main functionality of your gadget without showing it in its entirety. The value for this attribute is a string that gives the URL for a gadget thumbnail. This must be a well-formed URL, not a relative URL. This image must be on a public web site that is not blocked by robots.txt. PNG is the preferred format, though GIF and JPG are also acceptable. Thumbnails should be 120x60 pixels. They should not include title bars.
author_location
author_affiliation
title_url. You use this attribute to link your gadget title to an external HTML page. For example, if your gadget is a front end for a service, you can link the gadget title to that service's website.
directory_title (required if title contains user preference substitution variables).
If you want to be listed on the authors page, you can include these additional fields:

author_photo. URL to a photo (70x100 PNG format preferred, but JPG/GIF are also supported).
author_aboutme. A statement about yourself (try to keep to ~500 characters).
author_link. A link to your website, blog, etc.
author_quote. A quote you'd like to include (try to keep to ~300 characters).
You can find more information here, and an example here.

Step 2: Make sure that you have written a robust, secure gadget.
Make sure you have coded your gadget in a way that minimizes any security risks.

Step 3: Add any compatibility requirements.
Not all gadgets can run in all environments. A gadget may require a particular browser or software. You can use the <MayRequire> tag under <ModulePrefs> to provide information about special requirements of your gadget. For more information, see Specifying Compatibility Requirements.

Step 4: Add any relevant locale information.
You can use <Locale> tags under <ModulePrefs> to specify the locales supported by your gadget. For more information, see Specifying Locales.

Step 5: Make it easy for people to add your gadget.
To promote your gadget, consider putting an "Add to Google" button on it.

Step 6: Submit your gadget to Google.
You can submit your gadget to Google here. See the FAQ for an explanation of how to find your gadget in the directory, and what determines its placement. For instructions on how to prepare a gadget for syndication, which means that it can run on third party web pages, see Syndicated Gadgets.

Managing Submitted Gadgets
If you have submitted multiple versions of a gadget at different URLs and you want to designate one version as the official one, you can use the Submit an Alias Request page.
__________________
Teknoloji Haberleri
Paranaue, paranaue, parana ...
unutulan şu an çevrimdışı  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl'e kaydet! http://reddit.com/submit?url=%url%&title=%title%Wong'e kaydet!Yahoo'ya kaydet!Google'a kaydet!MSN'e kaydet!Facebook'e kaydet!
Mesajdan alıntı yaparak yeni bir cevap ekleyin
Sponsorlu Bağlantılar
Zoque.Forum
Reklam
Yanıt

Etiketler

rss , sistemini , nasil , google , gadget , lerine , uyumlu , hale , getirebilirim



 
Zoque'a hoşgeldiniz!
Zoque 27.02.1999 tarihinde yayın hayatına başlamış, paylaşıma dayalı bir oluşumdur. Tasarım, teknoloji, web, kültür ve sanat ana başlıkları altında bilgi paylaşımı ve benzer değerlere sahip katılımcıların birbirleriyle iletişime girmelerine imkan sağlar. "Az ama Öz" sloganından yola çıkarak, kaliteli ve nitelikli katılımı temel alır.

Saygın ve ciddi bir ortamda yardımlaşmak, haberleşmek, kendi bildiklerini diğer katılımcılarla paylaşmak isteyen, oluşumumuza düzenli katılımda bulunacağı inancını taşıyan konuklarımızı üye olmaya davet ediyoruz. [ » ]


Üye Girişi:

UslanmaM baktabul.com TEKplatform TEKplatform

En popüler ilk 100 etiket
Tag Cloud
acil adsl ajax almak arama araniyor ariyorum ariyoruz asp bilen bilgi bilgisayar blog calisma canon css dijital div domain dosya eleman film firefox flash font form forum fotograf freelance google gore grafik grafiker hakkinda hangi hata hatasi hosting html ilgili ilk image internet istanbul istiyorum java javascript karakter kayit kisisel kullanimi link logo mac mail menu muzik mysql nasil neden nedir online photoshop php problemi program programi reklam resim satilik sayfa script server ses sistemi site sitesi son soru sorun sorunsali sorunu sql swf tasarim tasarimci tasarimcisi tasarimi turk turkce veri video web windows wordpress xml yardim yazi yeni zoque
Zoque RSS Aboneliği
Son eklenen konuları e-posta ile haber verelim mi?

Forum Yazılımı: vBulletin® Version 3.7.3 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

Arayüz/Skin "Güneş" © www.zoque.com / net. Copyright © 1999 - 2008
Forum Saati GMT +2. Şu anda saat: 12:12.