środa, 27 września 2017

Duże posty | Big posts

Po ostatnim wpisie okazało się, że korzystaliśmy cały czas z bloga "źle". Niektórzy zauważyli i przysłali nam informacje, że kolejne posty na głównej stronie nie ładują się. Problematyczna okazała się ilość obrazków dodanych do jednego posta (lub być może, pośrednio, rozmiar źródła HTML strony jednego posta). Blogger "ubija" wyświetlanie postów, kiedy sumaryczna długość poprzednich przekroczy pewną ustalona magiczną barierę (nie jestem w stanie dokładnie powiedzieć ile, ale około 60-70 zdjęć dodanych na jednej stronie wystarczy). 

Panaceum na ten problem jest umiejętne użycie przycisku "Wstaw zawijanie tekstu" - patrz zdjęcie. Należy ją wstawić w długim poście po fragmencie tekstu, który chcemy aby pokazał się na głównej stronie w skrócie posta. 

Pod tym linkiem są obszerniejsze wyjaśnienia i ograniczenia tej metody.

After the last post it turned out that we have been using the blog "in a wrong way" for the whole time. Some people noticed and gave us feedback about posts not showing on the front page. The culprit was a huge amount of images in the said post (or probably, indirectly, the size of the HTML source of the one post). Blogger "kills" posts after the length of previous ones exceed some magic limit (I do not know haw big it is, but 60-70 pictures in a post suffice to kill the rest). 

The solution is to use "jump break" (as seen in the picture). It should be placed after the initial text of the post, that we want to show in the feed on the main page.

Under this link you can read more about "jump break" and its limitations.

1 komentarzy:

MiSiO pisze...

Proste? Proste!

Prześlij komentarz

RSS FeedRSS