<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">

<xsl:output version="1.0" method="xml" indent="yes"/>

<xsl:param name="appDirection"/>	
<xsl:param name="txtDirection"/>	

<xsl:preserve-space elements="//*"/>

<xsl:template match="/feed">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
</head>
<body>


<table dir="{$appDirection}" class="feedhead" cellspacing="0">
<tr>
  <td valign="middle" class="headleft">
    <b><span>Feed:</span>
    <span xml:lang="ar">تلقيمة:</span>
    <span xml:lang="ast">Canal:</span>
    <span xml:lang="be@latin">Kanał:</span>
    <span xml:lang="bg">Емисия:</span>
    <span xml:lang="ca">Canal:</span>
    <span xml:lang="cs">Kanál:</span>
    <span xml:lang="da">Nyhedskilde:</span>
    <span xml:lang="de">Feed:</span>
    <span xml:lang="el">Ροή:</span>
    <span xml:lang="es">Canal:</span>
    <span xml:lang="eu">Iturria:</span>
    <span xml:lang="fi">Syöte:</span>
    <span xml:lang="fr">Flux :</span>
    <span xml:lang="gl">Fonte:</span>
    <span xml:lang="he">ערוץ:</span>
    <span xml:lang="hu">Hírforrás:</span>
    <span xml:lang="id">Feed:</span>
    <span xml:lang="it">Notiziario:</span>
    <span xml:lang="ja">配信元:</span>
    <span xml:lang="ko">피드:</span>
    <span xml:lang="lt">Naujienų kanalas:</span>
    <span xml:lang="lv">Plūsma:</span>
    <span xml:lang="mk">Вест:</span>
    <span xml:lang="nl">Feed:</span>
    <span xml:lang="pl">Kanał:</span>
    <span xml:lang="pt">Fonte:</span>
    <span xml:lang="pt_BR">Fontes de Notícias:</span>
    <span xml:lang="ro">Flux:</span>
    <span xml:lang="ru">Лента:</span>
    <span xml:lang="sk">Kanál:</span>
    <span xml:lang="sq">Prurje:</span>
    <span xml:lang="sv">Flöde:</span>
    <span xml:lang="tr">Besleme:</span>
    <span xml:lang="uk">Подача:</span>
    <span xml:lang="vi">Feed:</span>
    <span xml:lang="zh_CN">信息源：</span>
    <span xml:lang="zh_TW">饋流:</span></b>
  </td>
  <td width="100%" valign="middle" class="headright">
     <a href="{attributes/attribute[ @name = 'homepage' ]}">
        <xsl:value-of select="feedTitle"/>
     </a>
  </td>
</tr>
<tr>
  <td valign="middle" class="headleft">
    <b><span>Source:</span>
    <span xml:lang="ar">المصدر:</span>
    <span xml:lang="ast">Orixe:</span>
    <span xml:lang="be@latin">Krynica:</span>
    <span xml:lang="bg">Изходен код:</span>
    <span xml:lang="ca">Font:</span>
    <span xml:lang="cs">Zdroj:</span>
    <span xml:lang="da">Kilde:</span>
    <span xml:lang="de">Quelle:</span>
    <span xml:lang="el">Πηγή:</span>
    <span xml:lang="es">Fuente:</span>
    <span xml:lang="eu">Iturburua:</span>
    <span xml:lang="fi">Lähde:</span>
    <span xml:lang="fr">Source :</span>
    <span xml:lang="gl">Orixe:</span>
    <span xml:lang="he">מקור:</span>
    <span xml:lang="hu">Forrás:</span>
    <span xml:lang="id">Sumber:</span>
    <span xml:lang="it">Fonte:</span>
    <span xml:lang="ja">ソース:</span>
    <span xml:lang="ko">소스:</span>
    <span xml:lang="lt">Šaltinis:</span>
    <span xml:lang="lv">Avots:</span>
    <span xml:lang="mk">Извор:</span>
    <span xml:lang="nl">Bron:</span>
    <span xml:lang="pl">Adres źródłowy:</span>
    <span xml:lang="pt">Fontes:</span>
    <span xml:lang="pt_BR">Fontes:</span>
    <span xml:lang="ro">Sursă:</span>
    <span xml:lang="ru">Источник:</span>
    <span xml:lang="sk">Zdroj:</span>
    <span xml:lang="sq">Burim:</span>
    <span xml:lang="sv">Källa:</span>
    <span xml:lang="tr">Kaynak:</span>
    <span xml:lang="uk">Джерело:</span>
    <span xml:lang="vi">Nguồn:</span>
    <span xml:lang="zh_CN">来源：</span>
    <span xml:lang="zh_TW">來源:</span></b>
  </td>
  <td width="100%" valign="middle" class="headright">
     <xsl:variable name="href">
        <xsl:call-template name="strippwd">
           <xsl:with-param select="feedSource" name="string"/>
        </xsl:call-template>
     </xsl:variable>
     <a href="{$href}">
        <xsl:call-template name="strippwd">
           <xsl:with-param select="feedSource" name="string"/>
        </xsl:call-template>
     </a>
  </td>
</tr>
</table>


<table class='headmeta' cellspacing="0" cellpadding="0">
<xsl:if test="attributes/attribute[ @name = 'publisher' ]">
<tr>
 <td valign="top" class='publisher'>
     <b><span>Publisher</span>
     <span xml:lang="ar">الناشر</span>
     <span xml:lang="ast">Editor</span>
     <span xml:lang="be@latin">Apublikavaŭ</span>
     <span xml:lang="ca">Editor</span>
     <span xml:lang="cs">Vydavatel</span>
     <span xml:lang="da">Udgiver</span>
     <span xml:lang="de">Herausgeber</span>
     <span xml:lang="el">Εκδότης</span>
     <span xml:lang="es">Editorial</span>
     <span xml:lang="eu">Argitaratzailea</span>
     <span xml:lang="fi">Julkaisija</span>
     <span xml:lang="fr">Éditeur</span>
     <span xml:lang="gl">Editor</span>
     <span xml:lang="he"><p dir="rtl">מוציא לאור</p></span>
     <span xml:lang="hu">Kiadó</span>
     <span xml:lang="id">Penerbit</span>
     <span xml:lang="it">Editore</span>
     <span xml:lang="ja">公開者</span>
     <span xml:lang="lt">Paskelbė</span>
     <span xml:lang="lv">Izdevējs</span>
     <span xml:lang="nl">Uitgever</span>
     <span xml:lang="pl">Wydawca</span>
     <span xml:lang="pt">Editores</span>
     <span xml:lang="pt_BR">Editores</span>
     <span xml:lang="ro">Publicat de</span>
     <span xml:lang="ru">Издатель</span>
     <span xml:lang="sk">Vydavateľ</span>
     <span xml:lang="sq">Botues</span>
     <span xml:lang="sv">Utgivare</span>
     <span xml:lang="tr">Yayımcı</span>
     <span xml:lang="uk">Поширювач</span>
     <span xml:lang="vi">Nhà xuất bản</span>
     <span xml:lang="zh_CN">发布者</span></b>
     <span class='publisher'>
       <xsl:value-of select="attributes/attribute[ @name = 'publisher' ]" disable-output-escaping='yes'/>
     </span>
 </td>
</tr>
</xsl:if>
<xsl:if test="attributes/attribute[ @name = 'copyright' ]">
<tr>
 <td valign="top" class='copyright'>
     <b><span>Copyright</span>
     <span xml:lang="ar">حقوق النشر</span>
     <span xml:lang="ast">Copyright</span>
     <span xml:lang="be@latin">Aŭtarskija pravy</span>
     <span xml:lang="ca">Copyright</span>
     <span xml:lang="cs">Autorská práva</span>
     <span xml:lang="da">Ophavsret</span>
     <span xml:lang="de">Copyright</span>
     <span xml:lang="el">Copyright</span>
     <span xml:lang="es">Derechos de autor</span>
     <span xml:lang="eu">Copyright-a</span>
     <span xml:lang="fi">Tekijänoikeus</span>
     <span xml:lang="fr">Copyright</span>
     <span xml:lang="gl">Dereitos de autor</span>
     <span xml:lang="he">זכויות יוצרים</span>
     <span xml:lang="hu">Copyright</span>
     <span xml:lang="id">Hak Cipta</span>
     <span xml:lang="it">Copyright</span>
     <span xml:lang="ja">著作権</span>
     <span xml:lang="lt">Autorinės teisės</span>
     <span xml:lang="lv">Autortiesības</span>
     <span xml:lang="nl">Copyright</span>
     <span xml:lang="pl">Copyright</span>
     <span xml:lang="pt">Copyright</span>
     <span xml:lang="pt_BR">Copyright</span>
     <span xml:lang="ro">Drepturi de autor</span>
     <span xml:lang="ru"></span>
     <span xml:lang="sk">Autorské právo</span>
     <span xml:lang="sq">Të drejta kopjimi</span>
     <span xml:lang="sv">Upphovsrätt</span>
     <span xml:lang="tr">Telif Hakkı</span>
     <span xml:lang="uk">Авторські права</span>
     <span xml:lang="vi">Tác quyền</span>
     <span xml:lang="zh_CN">版权</span></b>
     <span class='copyright'>
       <xsl:value-of select="attributes/attribute[ @name = 'copyright' ]" disable-output-escaping='yes'/>
     </span>
 </td>
</tr>
</xsl:if>
</table> 


<xsl:if test="/feed/error > 0">
  <div id="errors" dir="{$appDirection}">

    <span>There was a problem when fetching this subscription!</span>
    <span xml:lang="cs">Při čtení tohoto odběru se vyskytl problém!</span>
    <span xml:lang="de">Es trat ein Fehler beim Einlesen des Abonnements auf. Bitte überprüfen Sie die Adresse und die Ausgabe auf der Konsole!</span>
    <span xml:lang="es">!Hubo un problema al descargar esta suscripción!</span>
    <span xml:lang="fr">Un problème est survenu pendant la lecture de cet abonnement.</span>
    <span xml:lang="hu">Hiba történt a feliratkozás lekérésekor.</span>
    <span xml:lang="it">Si è verificato un problema durante il recupero di questo abbonamento.</span>
    <span xml:lang="nl">Fout bij het ophalen van dit abonnement!</span>
    <span xml:lang="pl">Wystąpił problem podczas pobierania tej subskrypcji!</span>
    <span xml:lang="pt_BR">Foi encontrado um problema ao obter esta assinatura!</span>
    <span xml:lang="sq">Pati një problem gjatë sjelljes së këtij pajtimi!</span>
    <span xml:lang="zh_CN">读取此订阅时出现问题，请检查网址和终端输出！</span>
    <ul>
      <li>
        <xsl:call-template name="parseStatus">
          <xsl:with-param select="1" name="parsePhase"/>
        </xsl:call-template>
        <span>1. Authentication</span>
        <span xml:lang="cs">1. Autentizace</span>
        <span xml:lang="de">1. Authentifizierung</span>
        <span xml:lang="es">1. Autenticación</span>
        <span xml:lang="fr">1. Authentification</span>
        <span xml:lang="hu">1. Hitelesítés</span>
        <span xml:lang="it">1. Autenticazione</span>
        <span xml:lang="nl">1. Authenticatie</span>
        <span xml:lang="pl">1. Uwierzytelnianie</span>
        <span xml:lang="pt_BR">1. Autenticação</span>
        <span xml:lang="sq">1. Mirëfilltësim</span>
        <span xml:lang="zh_CN">1.认证</span>
      </li>
      <li>
        <xsl:call-template name="parseStatus">
          <xsl:with-param select="2" name="parsePhase"/>
        </xsl:call-template>
        <span>2. Download</span>
        <span xml:lang="cs">2. Stahování</span>
        <span xml:lang="de">2. Download</span>
        <span xml:lang="es">2. Descarga</span>
        <span xml:lang="fr">2. Téléchargement</span>
        <span xml:lang="hu">2. Letöltés</span>
        <span xml:lang="it">2. Scaricamento</span>
        <span xml:lang="nl">2. Downloaden</span>
        <span xml:lang="pl">2. Pobieranie</span>
        <span xml:lang="pt_BR">2. Download</span>
        <span xml:lang="sq">2. Shkarkim</span>
        <span xml:lang="zh_CN">2.下载</span>
      </li>
      <li>
        <xsl:call-template name="parseStatus">
          <xsl:with-param select="4" name="parsePhase"/>
        </xsl:call-template>
        <span>3. Feed Discovery</span>
        <span xml:lang="de">3. Feed Erkennung</span>
        <span xml:lang="es">3. Descubrimiento de canal</span>
        <span xml:lang="fr">3. Découverte de flux</span>
        <span xml:lang="hu">3. Hírforráskeresés</span>
        <span xml:lang="it">3. Individuazione del notiziario</span>
        <span xml:lang="nl">3. Feed-ontdekking</span>
        <span xml:lang="pl">3. Wykrywanie subskrypcji</span>
        <span xml:lang="pt_BR">Descoberta de Fontes</span>
        <span xml:lang="ru">3. Обнаружение каналов</span>
        <span xml:lang="sq">3. Zbulim Prurjesh</span>
        <span xml:lang="zh_CN">3. 找新 Feed</span>
      </li>
      <li>
        <xsl:call-template name="parseStatus">
          <xsl:with-param select="8" name="parsePhase"/>
        </xsl:call-template>
        <span>4. Parsing</span>
        <span xml:lang="de">4. Parsen</span>
        <span xml:lang="es">4. Decodificación</span>
        <span xml:lang="fr">4. Analyse</span>
        <span xml:lang="hu">4. Feldolgozás</span>
        <span xml:lang="it">4. Analisi</span>
        <span xml:lang="nl">4. Parsering</span>
        <span xml:lang="pl">4. Przetwarzanie</span>
        <span xml:lang="pt_BR">4. Análise</span>
        <span xml:lang="ru">4. Парсинг</span>
        <span xml:lang="sq">4. Përtypje</span>
        <span xml:lang="zh_CN">4. 解析</span>
      </li>
    </ul>

    <span class="details">
      <b><span>Details:</span>
      <span xml:lang="cs">Podrobnosti:</span>
      <span xml:lang="de">Details:</span>
      <span xml:lang="es">Detalles:</span>
      <span xml:lang="fr">Détails :</span>
      <span xml:lang="hu">Részletek:</span>
      <span xml:lang="it">Dettagli:</span>
      <span xml:lang="nl">Details:</span>
      <span xml:lang="pl">Szczegóły:</span>
      <span xml:lang="pt_BR">Detalhes:</span>
      <span xml:lang="sq">Hollësi:</span>
      <span xml:lang="zh_CN">详细信息：</span></b>

      <xsl:choose>
        <xsl:when test="/feed/error = 1">
          <p><span>Authentication failed. Please check the credentials and try again!</span>
          <span xml:lang="cs">Ověření se nezdařilo. Zkontrolujte přihlašovací údaje a zkuste to znovu!</span>
          <span xml:lang="de">Authentifizierung fehlgeschlagen! Bitte Kennwort prüfen!</span>
          <span xml:lang="es">Falló la autenticación. ¡Por favor verifique las credenciales e intente de nuevo!</span>
          <span xml:lang="fr">L’authentification a échoué. Vérifiez les identifiants et réessayez.</span>
          <span xml:lang="hu">A hitelesítés sikertelen. Ellenőrizze a hitelesítési adatokat, és próbálja újra.</span>
          <span xml:lang="it">Autenticazione non riuscita. Verificare le credenziali e riprovare.</span>
          <span xml:lang="nl">Authenticeren mislukt. Gelieve de aanmeldgegevens te controleren en opnieuw te proberen.</span>
          <span xml:lang="pl">Uwierzytelnianie nie powiodło się. Sprawdź  i spróbuj ponownie!</span>
          <span xml:lang="pt_BR">A autenticação falhou. Verifique as credenciais e tente novamente!</span>
          <span xml:lang="ru">Сбой аутентификации. Пожалуйста, проверьте учетные данные и повторите попытку!</span>
          <span xml:lang="sq">Mirëfilltësimi dështoi. Ju lutemi, kontrolloni kredencialet dhe riprovoni!</span>
          <span xml:lang="zh_CN">登录失败。请检查您的凭据，然后重试！</span></p>
        </xsl:when>

        <xsl:when test="/feed/error = 2">
          <xsl:if test="httpError">
            <p>
              <xsl:if test="httpErrorCode >= 100">
                HTTP <xsl:value-of select="httpErrorCode"/>:
              </xsl:if>
              <xsl:value-of select="httpError" disable-output-escaping='yes'/>
            </p>
          </xsl:if>

          <xsl:if test="updateError">
            <p>
              <span>There was an error when downloading the feed source:</span>
              <span xml:lang="cs">Při stahování zdroje tohoto kanálu se vyskytla chyba:</span>
              <span xml:lang="de">Es traten Fehler beim Herunterladen des Abonnements auf:</span>
              <span xml:lang="es">Hubo un error al descargar la fuente del canal:</span>
              <span xml:lang="fr">Une erreur est survenue durant le téléchargement de la source du flux :</span>
              <span xml:lang="hu">Hiba történt a hírforrás forrásának letöltésekor:</span>
              <span xml:lang="it">Si è verificato un errore durante lo scaricamento della fonte del notiziario:</span>
              <span xml:lang="nl">Fout bij het downloaden van de feed-bron!</span>
              <span xml:lang="pl">Wystąpiły błędy podczas pobierania źródła subskrypcji:</span>
              <span xml:lang="pt_BR">Alguns erros foram encontrados ao processar esta fonte de notícias:</span>
              <span xml:lang="sq">Pati një gabim teksa shkarkohej burimi i prurjes:</span>
              <span xml:lang="zh_CN">解析此 Feed 时出现错误：</span>
              <pre class="errorOutput"><xsl:value-of select="updateError" disable-output-escaping='yes'/></pre>
            </p>
          </xsl:if>

          <xsl:if test="filterError">
            <p>
              <span>There was an error when running the feed filter command:</span>
              <span xml:lang="de">Es traten Fehler beim Ausführen des Filters auf:</span>
              <span xml:lang="es">Hubo un error al ejecutar la orden de filtro del canal:</span>
              <span xml:lang="fr">Une erreur est survenue durant l’exécution de la commande de filtrage du flux :</span>
              <span xml:lang="hu">Hiba történt a hírforrásszűrési parancs futtatásakor:</span>
              <span xml:lang="it">Si è verificato un errore durante l'esecuzione del comando del filtro del notiziario:</span>
              <span xml:lang="nl">Fout bij het uitvoeren van het feed-filter-commando:</span>
              <span xml:lang="pl">Wystąpił błąd podczas przetwarzania polecenia filtrującego wiadomości:</span>
              <span xml:lang="pt_BR">Ocorreu um erro ao executar o comando de filtro da fonte de notícias:</span>
              <span xml:lang="sq">Pati një gabim teksa xhirohej urdhri për filtrim prurjeje:</span>
              <span xml:lang="zh_CN">解析此 Feed 时出现错误：</span>
              <pre class="errorOutput"><xsl:value-of select="filterError" disable-output-escaping='yes'/></pre>
            </p>
          </xsl:if>
        </xsl:when>

        <xsl:when test="/feed/error = 4">
          <p><span>The source does not point directly to a feed or a webpage with a link to a feed!</span>
          <span xml:lang="de">Die Quelle scheint nicht auf einen Feed oder eine Webseite mit einem Link zu einem Feed zu zeigen!</span>
          <span xml:lang="es">¡La fuente no apunta directamete a un canal o a un siio web con un enlace a un canal!</span>
          <span xml:lang="fr">La source ne pointe pas directement vers un flux ou une page web avec un lien vers un flux.</span>
          <span xml:lang="hu">A forrás nem mutat közvetlenül egy hírforrásra vagy egy hírforrásra mutató hivatkozással rendelkező weboldalra.</span>
          <span xml:lang="it">La fonte non punta direttamente a un notiziario o a una pagina web con un collegamento a un notiziario.</span>
          <span xml:lang="nl">De bron verwijst niet rechtstreeks naar een feed of webpagina met een link naar een feed.</span>
          <span xml:lang="pl">Źródło nie wskazuje bezpośrednio na subskrypcje lub stronę internetową z linkiem do subskrypcji!</span>
          <span xml:lang="pt_BR">A fonte não aponta diretamente para uma fonte de notícias ou página da web com um link para uma fonte!</span>
          <span xml:lang="ru">Источник не указывает непосредственно на фид или веб-страницу со ссылкой на канал!</span>
          <span xml:lang="sq">Burimi nuk shpie drejt e te një prurje ose faqe web me një lidhje për te një prurje!</span>
          <span xml:lang="zh_CN">这不指向 Feed！</span></p>
        </xsl:when>

        <xsl:when test="/feed/error = 8">
          <p><span>Sorry, the feed could not be parsed!</span>
          <span xml:lang="cs">Litujeme, zdroj nelze analyzovat!</span>
          <span xml:lang="de">Leider konnte die Quelle nicht geparsed werden!</span>
          <span xml:lang="es">¡Lo siento, no se puede decodificar el canal!</span>
          <span xml:lang="fr">Impossible d’analyser le flux.</span>
          <span xml:lang="hu">Elnézést, a hírforrást nem sikerült feldolgozni.</span>
          <span xml:lang="it">Impossibile analizzare il notiziario.</span>
          <span xml:lang="nl">Oeps, de feed kon niet ontleed worden!</span>
          <span xml:lang="pl">Przepraszam, subskrypcja nie mogła być przetworzona!</span>
          <span xml:lang="pt_BR">Desculpe, não foi possível analisar a fonte de notícias!</span>
          <span xml:lang="ru">К сожалению, канал не удалось отпарсить!</span>
          <span xml:lang="sq">Na ndjeni, prurja s’u përtyp dot!</span>
          <span xml:lang="zh_CN">念不了Feed！</span></p>
          <xsl:if test="parseError">
            <pre class="errorOutput"><xsl:value-of select="parseError" disable-output-escaping='yes'/></pre>
            <p><span>You may want to contact the author/webmaster of the feed about this!</span>
            <span xml:lang="ar">قد ترغب في التواصل من مع مؤلف\مسئول التلقيمة عن هذا.</span>
            <span xml:lang="ca">Us podeu posar en contacte amb l'autor/administrador del canal per explicar-li això.</span>
            <span xml:lang="cs">Možná budete chtít ohledně toho kontaktovat autora/webmastera tohoto zdroje!</span>
            <span xml:lang="da">Du bør måske kontakte forfatteren/webmasteren for nyhedskilden om dette!</span>
            <span xml:lang="de">Kontaktieren Sie den Autor/Webmaster dieses Feeds zu diesem Problem!</span>
            <span xml:lang="es">¡Si lo desea, póngase en contacto con el autor del canal para informarle de este problema!</span>
            <span xml:lang="eu">Agian egile edo web arduradunarekin kontaktuan jarri nahi duzu honegatik!</span>
            <span xml:lang="fi">Haluat ehkä ottaa yhteyttä uutissyötteen kirjoittajaan/webbiylläpitäjään tästä asiasta!</span>
            <span xml:lang="fr">Vous pouvez contacter l’auteur ou le webmestre du flux à ce sujet !</span>
            <span xml:lang="he"><p dir="rtl">אפשרי כי ברצונך ליצור קשר עם מחבר/מנהל הערוץ אודות זאת!</p></span>
            <span xml:lang="hu">Ezzel kapcsolatban érdemes lenne felkeresni a hírforrás szerzőjét vagy webmesterét.</span>
            <span xml:lang="id">Mungkin Anda ingin menghubungi penulis/webmaster tentang feed ini!</span>
            <span xml:lang="it">Riguardo questa problematica, si può contattare l'autore/webmaster di questo notiziario.</span>
            <span xml:lang="lv">Iespējams, ka vēlaties par šo sazināties ar autoru/vietnes plūsmas uzturētāju!</span>
            <span xml:lang="nl">Overweeg de auteur of webmaster van deze feed hierover te informeren!</span>
            <span xml:lang="pl">Można powiadomić o tej sytuacji autora/opiekuna tego kanału!</span>
            <span xml:lang="pt_BR">Você pode querer contatar o autor/webmaster da fonte sobre isso!</span>
            <span xml:lang="ru">Возможно, стоит сообщить об этом автору/веб-мастеру ленты!</span>
            <span xml:lang="sq">Lidhur me këtë, mund të kontaktoni autorin ose kujdestarin e sajtit të prurjes!</span>
            <span xml:lang="sv">Du kanske vill kontakta författaren/webbansvarige för flödet angående detta!</span>
            <span xml:lang="tr">Bununla ilgili olarak beslemenin yazarı ya da yöneticisiyle iletişime geçmek isteyebilirsin!</span>
            <span xml:lang="uk">Ймовірно, вам варто повідомити про це автора або вебмайстра, який контролює подачу!</span>
            <span xml:lang="vi">Bạn có lẽ cần liên hệ với người quản lý trang web hay tác giả của feed về vấn đề này!</span>
            <span xml:lang="zh_CN">您可能需要就此联系 Feed 的作者/网站管理员！</span></p>
          </xsl:if>
        </xsl:when>
      </xsl:choose>
    </span>

  </div>
</xsl:if>

<div id='content' dir="{$txtDirection}" class='feed content'>

<xsl:if test="attributes/attribute[ @name = 'imageUrl' ]">
<p>
<img src="{attributes/attribute[ @name = 'imageUrl' ]}" class="feed"/>
</p>
</xsl:if>

   <xsl:value-of select="attributes/attribute[@name = 'description']" disable-output-escaping='yes'/>

   <xsl:value-of select="attributes/attribute[@name = 'textInput']" disable-output-escaping='yes'/>
</div>

</body>
</html>
</xsl:template>

<xsl:template name="parseStatus">
  
  <xsl:param name="parsePhase"/>
  <xsl:variable select="/feed/error" name="errorCode"/>
  <xsl:if test="$errorCode = 0 or $errorCode > $parsePhase">✅</xsl:if>
  <xsl:if test="$errorCode = $parsePhase">⛔</xsl:if>
  <xsl:if test="$parsePhase > $errorCode">⬜</xsl:if>
  <xsl:text> </xsl:text>
</xsl:template>

<xsl:template name="strippwd">
   <xsl:param name="string"/>
   <xsl:choose>
       <xsl:when test="contains($string, '@')">
       <xsl:choose>
             
             <xsl:when test="contains(substring-after(substring-before($string, '@'), '://'), '/')">
                <xsl:value-of select="$string"/>
             </xsl:when>
             <xsl:otherwise><xsl:value-of select="substring-before($string, '://')"/>://<xsl:value-of select="substring-after($string, '@')"/></xsl:otherwise>
       </xsl:choose>
       </xsl:when>
       <xsl:otherwise><xsl:value-of select="$string"/></xsl:otherwise>
   </xsl:choose>
</xsl:template>
</xsl:stylesheet>