<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Πιτες - Tasty Cooking</title>
	<atom:link href="https://www.tastycooking.gr/categories/%CE%B5%CE%B9%CE%B4%CE%BF%CF%82-%CE%B3%CE%B5%CF%85%CE%BC%CE%B1%CF%84%CE%BF%CF%82/%CF%80%CE%B9%CF%84%CE%B5%CF%82/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tastycooking.gr/categories/ειδος-γευματος/πιτες/</link>
	<description>Delicious Greek Recipes</description>
	<lastBuildDate>Thu, 03 Jun 2021 12:17:31 +0000</lastBuildDate>
	<language>el</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://www.tastycooking.gr/wp-content/uploads/2021/06/cropped-android-chrome-512x512-1-32x32.png</url>
	<title>Πιτες - Tasty Cooking</title>
	<link>https://www.tastycooking.gr/categories/ειδος-γευματος/πιτες/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Η πιο εύκολη συνταγή για τυροπιτάκια!</title>
		<link>https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/</link>
					<comments>https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/#comments</comments>
		
		<dc:creator><![CDATA[Eli K. Giannopoulos]]></dc:creator>
		<pubDate>Tue, 20 Sep 2016 07:54:43 +0000</pubDate>
				<category><![CDATA[Γρηγορες Συνταγες]]></category>
		<category><![CDATA[Ορεκτικα]]></category>
		<category><![CDATA[Πιτες]]></category>
		<category><![CDATA[Συνταγες για Παιδικα Γενεθλια]]></category>
		<category><![CDATA[Τυρι]]></category>
		<category><![CDATA[φυλλο]]></category>
		<guid isPermaLink="false">https://www.tastycooking.gr/?p=115</guid>

					<description><![CDATA[<p>Τυροπιτάκια εύκολα, γρήγορα και τραγανά! Έτοιμα σε μόλις 30’, μια γρήγορη συνταγή τυροπιτάκια με φύλλο κρούστας που θα σας ενθουσιάσει! Συνταγή Τυροπιτάκια με φύλλο κρούστας &#8211; Tips Για αυτή τη συνταγή για τυροπιτάκια το μόνο που χρειάζεται να κάνετε είναι να φτιάξετε ενα μίγμα από δύο διαφορετικά τυριά (για έξτρα γεύση) και να τυλίξετε με [&#8230;]</p>
<p>The post <a href="https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/">Η πιο εύκολη συνταγή για τυροπιτάκια!</a> appeared first on <a href="https://www.tastycooking.gr">Tasty Cooking</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Τυροπιτάκια εύκολα, γρήγορα και τραγανά! Έτοιμα σε μόλις 30’, μια γρήγορη συνταγή τυροπιτάκια με φύλλο κρούστας που θα σας ενθουσιάσει!</p>
<h2>Συνταγή Τυροπιτάκια με φύλλο κρούστας &#8211; Tips</h2>
<p>Για αυτή τη συνταγή για τυροπιτάκια το μόνο που χρειάζεται να κάνετε είναι να φτιάξετε ενα μίγμα από δύο διαφορετικά τυριά (για έξτρα γεύση) και να τυλίξετε με φύλλο κρούστας. Στη συνέχεια τα αλείφετε με λιωμένο βούτυρο για υπέροχο άρωμα και χρυσαφένιο χρώμα και τα ψήνετε μέχρι να μυρίσει όλο το σπίτι!</p>
<p>Τα τυροπιτάκια, όπως ξέρουμε όλοι, είναι ένα από τα δημοφιλέστερα ορεκτικά στην Ελλάδα και φτίαχνονται σε μεγάλη ποικιλία. Τυροπιτάκια μισοφέγγαρα, ρολάκια, τυροπιτάκια σαν κρουασανάκια και φυσικα τα κλασσικά τριγωνάκια που δεν λείπουν ποτέ από τα Κυριακάτικα τραπέζια, τα παιδικά πάρτυ και όλες τις γιορτές.</p>
<p>Το κύριο συστατικό που θα χρεαστείτε για να ετοιμάσετε αυτή τη συνταγή για τυροπιτάκια ειναι φυσικά το αγαπημένο σε όλους μας κλασικό παραδοσιακό τυρί, η φέτα και το φύλλο κρούστας. Επειδή η φέτα συνήθως είναι αρκετά αλμυρή, προσέξτε να μη προθέσετε αλάτι στο μίγμα.</p>
<p>Το μυστικό για τραγανά και αρωματικά τυροπιτάκια είναι να τα αλείψετε με καλής ποιότητας βούτυρο για έξτρα γεύση. (Δείτε και τις <a href="https://www.tastycooking.gr/recipe/pws-douleuoume-to-phyllo-kroustas/" target="_blank" rel="noopener noreferrer">συμβουλές για το φύλλο</a> πριν ξεκινήσετε να φτιάχνετε αυτή τη συνταγή για τυροπιτάκια)</p>
<p>Εμπρός λοιπόν, δοκιμάστε αυτή τη γρήγορη συνταγή για τυροπιτάκια και καταπλήξτε τους φίλους και την οικογένειά σας με αυτό το έξτρα νόστιμο και χορταστικό ορεκτικό!</p>
<svg aria-hidden="true" style="position: absolute;width: 0;height: 0;overflow: hidden" xmlns="http://www.w3.org/2000/svg">
<defs>
<symbol viewbox="9 9 46 42" id="wpt-star-full">
	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z" />
</symbol>
</defs>
</svg>
<a class="button tasty-recipes-print-button tasty-recipes-no-print tasty-recipes-print-above-card" href="https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/print/1053/">Εκτυπωση</a><span class="tasty-recipes-jump-target" id="tasty-recipes-1053-jump-target" style="display:block;padding-top:2px;margin-top:-2px;"></span><div id="tasty-recipes-1053" data-tr-id="1053" class="tasty-recipes tasty-recipes-1053 tasty-recipes-display tasty-recipes-has-image" data-tasty-recipes-customization="primary-color.background-color">


<header class="tasty-recipes-entry-header">
			<div class="tasty-recipes-image">
			<img decoding="async" width="150" height="150" src="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-1-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" data-pin-nopin="true" />		</div>
		<div class="tasty-recipes-header-content clearfix">
		<h2 class="tasty-recipes-title" style="color: #377a78 !important;" data-tasty-recipes-customization="h2-color.color h2-transform.text-transform">Η πιο εύκολη συνταγή τυροπιτάκια!</h2>
					<div class="tasty-recipes-rating">
				<div class="tasty-recipes-rating-outer">
					<div class="tasty-recipes-rating-inner">
													<span class="tasty-recipes-rating-stars"><svg aria-hidden="true" style="position: absolute;width: 0;height: 0;overflow: hidden" xmlns="http://www.w3.org/2000/svg">
<defs>
<symbol viewbox="9 9 46 42" id="wpt-star-full">
	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z" />
</symbol>
</defs>
</svg>
<span class="tasty-recipes-ratings-buttons tasty-recipes-no-ratings-buttons"	data-tr-default-rating="0"	>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="5">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg class="tasty-recipes-svg" width="18" height="17"><use href="#wpt-star-full" /></svg>			</span>			<span class="tasty-recipes-screen-reader">				5 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="4">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg class="tasty-recipes-svg" width="18" height="17"><use href="#wpt-star-full" /></svg>			</span>			<span class="tasty-recipes-screen-reader">				4 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="3">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg class="tasty-recipes-svg" width="18" height="17"><use href="#wpt-star-full" /></svg>			</span>			<span class="tasty-recipes-screen-reader">				3 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="2">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg class="tasty-recipes-svg" width="18" height="17"><use href="#wpt-star-full" /></svg>			</span>			<span class="tasty-recipes-screen-reader">				2 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="1">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg class="tasty-recipes-svg" width="18" height="17"><use href="#wpt-star-full" /></svg>			</span>			<span class="tasty-recipes-screen-reader">				1 Star			</span>		</i>	</span></span></span>
																			<span class="tasty-recipes-rating-label"><span data-tasty-recipes-customization="detail-label-color.color" class="rating-label">No reviews</span></span>
											</div>
				</div>
			</div>
				
				<div class="tasty-recipes-buttons">
						<div class="tasty-recipes-button-wrap">
				
<a class="button tasty-recipes-print-button tasty-recipes-no-print" href="https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/print/1053/" target="_blank" data-tasty-recipes-customization="">
			<img decoding="async" class="svg-print" data-pin-nopin="true" src="https://www.tastycooking.gr/wp-content/plugins/tasty-recipes/templates/buttons/images/icon-print.png">
		Εκτυπωση</a>
			</div>
									<div class="tasty-recipes-button-wrap">
				
<a class="share-pin button" data-pin-custom="true" data-href="https://www.pinterest.com/pin/create/bookmarklet/?url=https%3A%2F%2Fwww.tastycooking.gr%2Frecipe%2Fsyntagi-tiropitakia-eukoli%2F" href="https://www.pinterest.com/pin/create/bookmarklet/?url=https%3A%2F%2Fwww.tastycooking.gr%2Frecipe%2Fsyntagi-tiropitakia-eukoli%2F" data-tasty-recipes-customization="">
			<img decoding="async" class="svg-pinterest" data-pin-nopin="true" src="https://www.tastycooking.gr/wp-content/plugins/tasty-recipes/templates/buttons/images/icon-pinterest.png">
		Pin it!</a>
<script>
	const share_pin_buttons = document.getElementsByClassName( 'share-pin button' );
	if ( share_pin_buttons ) {
		for ( let share_key = 0; share_key < share_pin_buttons.length; share_key++ ) {
			share_pin_buttons[share_key].addEventListener( 'click', (e) => {
				e.stopPropagation();
				window.open(e.target.dataset.href,'targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500');
				return false;
			} );
		}
	}
</script>
			</div>
					</div>
	</div>

	
</header>

<div class="tasty-recipes-entry-content">
	<hr data-tasty-recipes-customization="secondary-color.border-color secondary-color.background-color">

	
	
			<div class="tasty-recipes-ingredients">
			<div class="tasty-recipes-ingredients-header">
				<div class="tasty-recipes-ingredients-clipboard-container">
					<h3 style="color: #377a78 !important;" data-tasty-recipes-customization="h3-color.color h3-transform.text-transform">Συστατικά</h3>
									</div>
				<div class="tasty-recipes-units-scale-container">
														</div>
			</div>
			<div class="tasty-recipes-ingredients-body" data-tasty-recipes-customization="body-color.color">
				<ul>
<li><span data-amount="8">8</span> φύλλα κρούστας</li>
<li><span data-amount="170">170</span> γραμ. Φετα, τρίμμα</li>
<li><span data-amount="50">50</span> γραμ. Τυρί γκόυντα, τριμμένο</li>
<li><span data-amount="50">50</span> γραμ. παρμεζάνα, ρεγκάτο ή κεφαλογραβιέρα, τριμμένο</li>
<li><span data-amount="1">1</span> αυγό</li>
<li>λίγο γάλα</li>
<li>μισό ματσάκι άνηθο ή δύόσμο, ψιλοκομμένο</li>
<li><span data-amount="100">100</span> γραμ. βούτυρο λιωμένο για το άλλειμα</li>
<li>φρεσκοτριμμένο πιπέρι</li>
</ul>
<!--INSIDE_INGREDIENTS-->			</div>
			<div class="tasty-recipes-cook-mode">
	<div class="tasty-recipes-cook-mode__container">
		<label class="tasty-recipes-cook-mode__switch">
			<input type="checkbox" id="tasty_recipes_681547db52c37_cookmode">
			<span class="tasty-recipes-cook-mode__switch-slider tasty-recipes-cook-mode__switch-round"
				data-tasty-recipes-customization="button-color.background button-text-color.color"></span>
		</label>
		<label for="tasty_recipes_681547db52c37_cookmode">
			<span class="tasty-recipes-cook-mode__label">Cook Mode</span>
			<span class="tasty-recipes-cook-mode__helper">
				Prevent your screen from going dark			</span>
		</label>
	</div>
</div>
		</div>
	
			<hr data-tasty-recipes-customization="secondary-color.border-color secondary-color.background-color">
	
			<div class="tasty-recipes-instructions">
			<div class="tasty-recipes-instructions-header">
				<h3 style="color: #377a78 !important;" data-tasty-recipes-customization="h3-color.color h3-transform.text-transform">Οδηγίες</h3>
							</div>
			<div class="tasty-recipes-instructions-body" data-tasty-recipes-customization="body-color.color">
				<ol>
<li id="instruction-step-1">Για να ετοιμάσετε αυτή τη συνταγή για τυροπιτάκια, ξεκινήστε προετοιμάζοντας τη γέμιση. Σε ένα μεγάλο μπολ τρίψτε τη φέτα και προσθέστε τα υπόλοιπα τυριά, το αυγό, το γάλα και φρεσκοτριμμένο πιπέρι. Ανακατέψτε καλά με ένα κουτάλι για να ενωθούν τα υλικά. Σε αυτό το σημείο μπορείτε να προσθέσετε και ψιλοκομμένο άνηθο ή δυόσμο, αν σας αρέσουν τα μυρωδικά.</li>
<li id="instruction-step-2">Προθερμάνετε το φούρνο στους 180C και ξεκινήστε να προετοιμάζετε τα τυροπιτάκια.</li>
<li id="instruction-step-3">Απλώστε ένα φύλλο κρούστας στον πάγκο της κουζίνας και χρησιμοποιώντας ένα πινέλο πασπαλίστε με λιωμμένο βούτυρο. Απλώστε από πάνω άλλο ένα φύλλο (ώστε να επικαλύπτονται) και πασπαλίστε το και αυτό με λιωμμένο βούτυρο.</li>
<li id="instruction-step-4">Κόψτε τα φύλλα σε τρεις λωρίδες (όπως στις φωτογραφίες) και στην άκρη της κάθε λωρίδας βάλτε μια κουταλιά από τη γέμιση. Διπλώστε τη μία γωνία για να σχηματίσετε ένα τρίγωνο και συνεχίστε να διπλώνετε το τρίγωνο μέχρι το τέλος της λωρίδας. Συνεχίστε με τα υπόλοιπα.</li>
<li id="instruction-step-5">Τοποθετήστε τα τυροπιτάκια σε ένα μέγάλο αντικολλητικό ταψί και αλείψτε τα με λιωμένο βούτυρο. Ψήστε τα τυροπιτάκια σε προθερμασμένο φούρνο στους 180 βαθμούς για 25 λεπτά περίπου, ώσπου να χρυσαφίσουν και να τραγανίσουν.</li>
<li id="instruction-step-6">Σερβίρετε τα τυροπιτάκια σαν ένα απολαυστικό ορεκτικό και φτιάξτε και μια ακόμα δόση.. θα σας χρειαστεί!</li>
</ol>
			</div>
		</div>
	
	
			<hr data-tasty-recipes-customization="secondary-color.border-color secondary-color.background-color">
	
	
	
	
	
	
	
	
	
</div>


<script>
window.trCommon={"minRating":6,"ajaxurl":"https:\/\/www.tastycooking.gr\/wp-admin\/admin-ajax.php","ratingNonce":"","postId":115};
window.TastyRecipes = window.TastyRecipes || {};

window.TastyRecipes.smoothScroll = {
init() {
document.addEventListener( 'click', ( e ) => {
let anchor = e.target;
if ( anchor.tagName !== 'A' ) {
anchor = anchor.closest( 'a.tasty-recipes-scrollto' );
}

if ( ! anchor || ! anchor.classList.contains( 'tasty-recipes-scrollto' ) ) {
return;
}

const elementHref = anchor.getAttribute( 'href' );
if ( ! elementHref ) {
return;
}

e.preventDefault();
this.goToSelector( elementHref );
});
},
goToSelector( selector ) {
const element = document.querySelector( selector );
if ( ! element ) {
return;
}
element.scrollIntoView( { behavior: 'smooth' } );
}
};

document.addEventListener(
'DOMContentLoaded',
() => window.TastyRecipes.smoothScroll.init()
);

window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.cookMode = {
wakeLockApi: false,
wakeLock: false,
cookModeSelector: '.tasty-recipes-cook-mode',
init() {
if ("wakeLock" in navigator && "request" in navigator.wakeLock) {
this.wakeLockApi = navigator.wakeLock;
}

const cookModes = document.querySelectorAll(this.cookModeSelector);

if (cookModes.length > 0) {
for (const cookMode of cookModes) {
if (this.wakeLockApi) {
cookMode.querySelector('input[type="checkbox"]').addEventListener("change", event => {
this.checkboxChange(event.target);
}, false);
} else {
cookMode.style.display = "none";
}
}
}
},
checkboxChange(checkbox) {
if (checkbox.checked) {
this.lock();
} else {
this.unlock();
}
},
setCheckboxesState(state) {
const checkboxes = document.querySelectorAll(this.cookModeSelector + ' input[type="checkbox"]');
for (const checkbox of checkboxes) {
checkbox.checked = state;
}
},
async lock() {
try {
this.wakeLock = await this.wakeLockApi.request("screen");
this.wakeLock.addEventListener("release", () => {
this.wakeLock = false;
this.setCheckboxesState(false);
});
this.setCheckboxesState(true);
} catch (error) {
this.setCheckboxesState(false);
}
},
unlock() {
if (this.wakeLock) {
this.wakeLock.release();
this.wakeLock = false;
}
this.setCheckboxesState(false);
}
};

(function(callback) {
if (document.readyState !== "loading") {
callback();
} else {
document.addEventListener("DOMContentLoaded", callback);
}
})(() => {
window.TastyRecipes.cookMode.init();
});



window.TastyRecipes = window.TastyRecipes || {};

window.TastyRecipes.staticTooltip = {
element: null,
tooltipElement: null,
deleting: false,
init( element ) {
if ( this.deleting ) {
return;
}
this.element = element;
this.buildElements();
},
destroy() {
if ( ! this.tooltipElement || this.deleting ) {
return;
}

this.deleting = true;
this.tooltipElement.classList.remove( 'opened' );

setTimeout( () => {
this.tooltipElement.remove();
this.deleting = false;
}, 500 );
},
buildElements() {
const tooltipElement = document.createElement( 'div' );
tooltipElement.classList.add( 'tasty-recipes-static-tooltip');
tooltipElement.setAttribute( 'id', 'tasty-recipes-tooltip' );

const currentTooltipElement = document.getElementById( 'tasty-recipes-tooltip' );
if ( currentTooltipElement ) {
document.body.replaceChild( tooltipElement, currentTooltipElement );
} else {
document.body.appendChild( tooltipElement );
}

this.tooltipElement = document.getElementById( 'tasty-recipes-tooltip' );
},
show() {
if ( ! this.tooltipElement ) {
return;
}

const tooltipTop = this.element.getBoundingClientRect().top
+ window.scrollY
- 10 // 10px offset.
- this.tooltipElement.getBoundingClientRect().height;
const tooltipLeft = this.element.getBoundingClientRect().left
- ( this.tooltipElement.getBoundingClientRect().width / 2 )
+ ( this.element.getBoundingClientRect().width / 2 ) - 1;
const posLeft = Math.max( 10, tooltipLeft );
this.maybeRemoveTail( posLeft !== tooltipLeft );

this.tooltipElement.setAttribute( 'style', 'top:' + tooltipTop + 'px;left:' + posLeft + 'px;' );
this.tooltipElement.classList.add( 'opened' );

},
maybeRemoveTail( removeTail ) {
if ( removeTail ) {
this.tooltipElement.classList.add( 'tr-hide-tail' );
} else {
this.tooltipElement.classList.remove( 'tr-hide-tail' );
}
},
changeMessage( message ) {
if ( ! this.tooltipElement ) {
return;
}
this.tooltipElement.innerHTML = message;
}
};

window.TastyRecipes.ajax = {
sendPostRequest( url, data, success, failure ) {
const xhr = new XMLHttpRequest();
xhr.open( 'POST', url, true );
xhr.send( this.preparePostData( data ) );

xhr.onreadystatechange = () => {
if ( 4 !== xhr.readyState ) {
return;
}
if ( xhr.status === 200 ) {
success( JSON.parse( xhr.responseText ) );
return;
}

failure( xhr );
};

xhr.onerror = () => {
failure( xhr );
};
},
preparePostData( data ) {
const formData = new FormData();

for ( const key in data ) {
formData.append( key, data[key] );
}
return formData;
},
};

window.TastyRecipes.ratings = {
defaultRating: 0,
currentRatingPercentage: 100,
savingRating: false,
init( minRating ) {
this.minRating = minRating;

this.formWatchRating();
this.closeTooltipWhenClickOutside();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompFormRatingPosition();
},
formWatchRating() {
const ratings = document.querySelectorAll('.tasty-recipes-no-ratings-buttons [data-rating]');
if ( ratings.length <= 0 ) {
return;
}
for ( const rating of ratings ) {
rating.addEventListener( 'click', event => {
event.preventDefault();
this.defaultRating = event.target.closest( '.checked' ).dataset.rating;
this.setCheckedStar( event.target );
this.maybeSendRating( this.defaultRating, event.target );
this.setRatingInForm( this.defaultRating );
} );
}
},
closeTooltipWhenClickOutside() {
window.addEventListener( 'click', e => {
// Bailout (don't remove the tooltip) when the clicked element is a rating star, or it's the tooltip itself.
if ( e.target.closest( '.tasty-recipes-rating' ) || e.target.classList.contains( 'tasty-recipes-static-tooltip' ) ) {
return;
}

window.TastyRecipes.staticTooltip.destroy();
} );
},
 setRatingInForm( rating ) {
const ratingInput = document.querySelector( '#respond .tasty-recipes-rating[value="' + rating + '"]' );
if ( ! ratingInput ) {
return;
}
ratingInput.click();
},
addBodyClassBasedOnSelectedRating() {
const ratingInputs = document.querySelectorAll( 'input.tasty-recipes-rating' );
if ( ! ratingInputs ) {
return;
}
for ( const ratingInput of ratingInputs ) {
ratingInput.addEventListener( 'click', currentEvent => {
const selectedRating = currentEvent.target.getAttribute( 'value' );
this.handleBodyClassByRating( selectedRating );
this.toggleCommentTextareaRequired( selectedRating );
} );
}
},
handleBodyClassByRating( rating ) {
if ( rating < this.minRating ) {
document.body.classList.remove( 'tasty-recipes-selected-minimum-rating' );
return;
}
document.body.classList.add( 'tasty-recipes-selected-minimum-rating' );
},
toggleCommentTextareaRequired( rating ) {
const commentTextarea = document.getElementById( 'comment' );
if ( ! commentTextarea ) {
return;
}

if ( rating < this.minRating ) {
commentTextarea.setAttribute( 'required', '' );
return;
}

commentTextarea.removeAttribute( 'required' );
},
maybeSendRating( rating, element ) {
if ( this.savingRating === rating ) {
return;
}

this.savingRating = rating;
window.TastyRecipes.staticTooltip.init( element );

const recipeCardElement = element.closest( '.tasty-recipes' );
if ( ! recipeCardElement ) {
window.TastyRecipes.staticTooltip.destroy();
return;
}

window.TastyRecipes.ajax.sendPostRequest(
window.trCommon.ajaxurl,
{
action: 'tasty_recipes_save_rating',
rating,
nonce: window.trCommon.ratingNonce,
post_id: window.trCommon.postId,
recipe_id: recipeCardElement.dataset.trId,
},
( response ) => {
window.TastyRecipes.staticTooltip.changeMessage( response.data.message );
window.TastyRecipes.staticTooltip.show();
this.updateAverageText( response.data, recipeCardElement );
this.maybeFillCommentForm( response.data );

// Hide the tooltip after 5 seconds.
setTimeout( () => {
this.maybeResetTooltip( recipeCardElement, response.data, rating );
}, 5000 );
},
() => {
this.resetTooltip( recipeCardElement );
}
);
},
updateAverageText( data, recipeCardElement ) {
if ( ! data.average ) {
return;
}
this.setRatingPercent( data );

if ( ! data.count ) {
return;
}

const quickLink = document.querySelector( '.tasty-recipes-rating-link' );
if ( quickLink ) {
this.setTextInContainer( quickLink, data );
this.setPartialStar( quickLink );
}

const cardStars = recipeCardElement.querySelector( '.tasty-recipes-ratings-buttons' );
cardStars.dataset.trDefaultRating = data.average;
this.setTextInContainer( recipeCardElement.querySelector( '.tasty-recipes-rating' ), data );
},
setTextInContainer( container, data ) {
if ( ! container ) {
return;
}

if ( data.label ) {
const ratingLabelElement = container.querySelector( '.rating-label' );
if ( ratingLabelElement ) {
ratingLabelElement.innerHTML = data.label;
}
return;
}

const averageElement = container.querySelector( '.average' );
if ( averageElement ) {
averageElement.textContent = data.average;
}

const countElement = container.querySelector( '.count' );
if ( countElement ) {
countElement.textContent = data.count;
}
},
setPartialStar( container ) {
const highestStar = container.querySelector( '[data-rating="' + Math.ceil( this.defaultRating ) + '"]' );
if ( highestStar ) {
highestStar.dataset.trClip = this.currentRatingPercentage;
}
},
setRatingPercent( data ) {
this.defaultRating = data.average.toFixed( 1 );
const parts = data.average.toFixed( 2 ).toString().split( '.' );
this.currentRatingPercentage = parts[1] ? parts[1] : 100;
if ( this.currentRatingPercentage === '00' ) {
this.currentRatingPercentage = 100;
}
},
setCheckedStar( target ) {
const cardRatingContainer = target.closest( '.tasty-recipes-ratings-buttons' );
const selectedRatingElement = cardRatingContainer.querySelector( '[data-tr-checked]' );
if ( selectedRatingElement ) {
delete selectedRatingElement.dataset.trChecked;
}

const thisStar = target.closest( '.tasty-recipes-rating' );
thisStar.dataset.trChecked = 1;
thisStar.querySelector( '[data-tr-clip]' ).dataset.trClip = 100;
},
maybeFillCommentForm( data ) {
if ( ! data.comment || ! data.comment.content ) {
return;
}

const commentForm = document.querySelector( '#commentform' );
if ( ! commentForm ) {
return;
}

const commentBox = commentForm.querySelector( '[name=comment]' );
if ( ! commentBox || commentBox.value ) {
return;
}

// Add comment details for editing.
commentBox.innerHTML = data.comment.content;
if ( data.comment.name ) {
commentForm.querySelector( '[name=author]' ).value = data.comment.name;
commentForm.querySelector( '[name=email]' ).value = data.comment.email;
}
},
maybeResetTooltip( recipeCardElement, data, rating ) {
if ( this.savingRating === rating ) {
this.resetTooltip( recipeCardElement, data );
}
},
resetTooltip( recipeCardElement, data ) {
window.TastyRecipes.staticTooltip.destroy();
this.savingRating = false;

// Reset the default rating.
const cardRatingContainer = recipeCardElement.querySelector( '.tasty-recipes-ratings-buttons' );
if ( cardRatingContainer ) {
this.defaultRating = ( data && data.average ) ? data.average.toFixed(1) : cardRatingContainer.dataset.trDefaultRating;
cardRatingContainer.dataset.trDefaultRating = this.defaultRating;

this.resetSelectedStar( cardRatingContainer, data );
}
},
resetSelectedStar( cardRatingContainer ) {
const selectedRatingElement = cardRatingContainer.querySelector( '[data-rating="' + Math.ceil( this.defaultRating ) + '"]' );
if ( selectedRatingElement ) {
selectedRatingElement.querySelector( '[data-tr-clip]' ).dataset.trClip = this.currentRatingPercentage;
selectedRatingElement.parentNode.dataset.trChecked = 1;
}

const previousSelectedElement= cardRatingContainer.querySelector( '[data-tr-checked]' );
if ( previousSelectedElement ) {
const currentSelectedRating = previousSelectedElement.querySelector('[data-rating]');
if ( currentSelectedRating !== selectedRatingElement ) {
delete previousSelectedElement.dataset.trChecked;
}
}
},
backwardCompFormRatingPosition() {
const ratingsButtons = document.querySelector( '#respond .tasty-recipes-ratings-buttons, #tasty-recipes-comment-rating .tasty-recipes-ratings-buttons' );
if ( ! ratingsButtons ) {
return;
}
const ratingsButtonsStyles = window.getComputedStyle(ratingsButtons);
if ( ! ratingsButtonsStyles.display.includes( 'flex' ) ) {
ratingsButtons.style.direction = 'rtl';
}

if ( typeof tastyRecipesRating !== 'undefined' ) {
// Select the rating that was previously selected in admin.
ratingsButtons.querySelector( '.tasty-recipes-rating[value="' + tastyRecipesRating + '"]' ).checked = true;
}

const ratingSpans = ratingsButtons.querySelectorAll( '.tasty-recipes-rating' );
for (const ratingSpan of ratingSpans) {
ratingSpan.addEventListener( 'click', event => {
if ( ratingSpan === event.target ) {
return;
}
ratingSpan.previousElementSibling.click();
} );
}
}
};

(function(callback) {
if (document.readyState !== "loading") {
callback();
} else {
window.addEventListener( 'load', callback );
}
})(() => {
window.TastyRecipes.ratings.init( window.trCommon ? window.trCommon.minRating : 4 );
});
</script></div>
<h2>Φωτογραφίες συνταγης:</h2>

<a href='https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/%ce%b7-%cf%80%ce%b9%ce%bf-%ce%b5%cf%8d%ce%ba%ce%bf%ce%bb%ce%b7-%cf%83%cf%85%ce%bd%cf%84%ce%b1%ce%b3%ce%ae-%cf%84%cf%85%cf%81%ce%bf%cf%80%ce%b9%cf%84%ce%ac%ce%ba%ce%b9%ce%b1-1/'><img decoding="async" width="150" height="150" src="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-1-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" srcset="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-1-150x150.jpg 150w, https://www.tastycooking.gr/wp-content/uploads/2016/09/Η-πιο-εύκολη-συνταγή-τυροπιτάκια-1-225x225.jpg 225w" sizes="(max-width: 150px) 100vw, 150px" /></a>
<a href='https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/%ce%b7-%cf%80%ce%b9%ce%bf-%ce%b5%cf%8d%ce%ba%ce%bf%ce%bb%ce%b7-%cf%83%cf%85%ce%bd%cf%84%ce%b1%ce%b3%ce%ae-%cf%84%cf%85%cf%81%ce%bf%cf%80%ce%b9%cf%84%ce%ac%ce%ba%ce%b9%ce%b1-2/'><img decoding="async" width="150" height="150" src="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/%ce%b7-%cf%80%ce%b9%ce%bf-%ce%b5%cf%8d%ce%ba%ce%bf%ce%bb%ce%b7-%cf%83%cf%85%ce%bd%cf%84%ce%b1%ce%b3%ce%ae-%cf%84%cf%85%cf%81%ce%bf%cf%80%ce%b9%cf%84%ce%ac%ce%ba%ce%b9%ce%b1-2-2/'><img decoding="async" width="150" height="150" src="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-2-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/%ce%b7-%cf%80%ce%b9%ce%bf-%ce%b5%cf%8d%ce%ba%ce%bf%ce%bb%ce%b7-%cf%83%cf%85%ce%bd%cf%84%ce%b1%ce%b3%ce%ae-%cf%84%cf%85%cf%81%ce%bf%cf%80%ce%b9%cf%84%ce%ac%ce%ba%ce%b9%ce%b1-3/'><img decoding="async" width="150" height="150" src="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-3-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/%ce%b7-%cf%80%ce%b9%ce%bf-%ce%b5%cf%8d%ce%ba%ce%bf%ce%bb%ce%b7-%cf%83%cf%85%ce%bd%cf%84%ce%b1%ce%b3%ce%ae-%cf%84%cf%85%cf%81%ce%bf%cf%80%ce%b9%cf%84%ce%ac%ce%ba%ce%b9%ce%b1-4/'><img decoding="async" width="150" height="150" src="https://www.tastycooking.gr/wp-content/uploads/2016/09/-πιο-εύκολη-συνταγή-τυροπιτάκια-4-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>

<p>The post <a href="https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/">Η πιο εύκολη συνταγή για τυροπιτάκια!</a> appeared first on <a href="https://www.tastycooking.gr">Tasty Cooking</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.tastycooking.gr/recipe/syntagi-tiropitakia-eukoli/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">115</post-id>	</item>
	</channel>
</rss>
