JL Horoscope v1.0 - Обновление

More
4 years 8 months ago #8230 by Limon142
Добрый день. У знаков зодиака пропало обновление гороскопов, подскажите, в чем могут быть проблемы?
У вас в демо версии тоже не обновляется.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #8235 by JoomLine
Не вижу проблем сейчас на тестовом сайте. Вероятно была проблема с доступностью сервера.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #8238 by Limon142
Проблему обновления наблюдаю уже с месяц.
На вашем демо Общий гороскоп для знака - РАК :
demo3.joomline.ru/jlhoroscope/4-rak

Текст гороскопа:
"Вы опять заболеете альтруизмом, филантропией и прочей гуманистической холерой. И откуда только у вас силы берутся? "

а на сервисе ignio.com совсем другой:
ignio.com/r/daily/?13

Текст гороскопа (на момент записи ответа):
"Сегодня вы сможете добиться значительно большего, нежели смели предполагать, если сумеете немного умерить самодовольство, и принять чью-то помощь."

?????????

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #8244 by JoomLine
Компонент выводит, то что отдается по API.

ignio.com/r/export/utf/xml/daily/com.xml
То, что оно не соответствует сайту, это как бы вопросы к сайту а не к нам.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #8248 by Limon142
Я и говорю, что по API не отдается т.е. экспорта гороскопов из файлов XML нет.

А текста гороскопов в файлах XML и на сомом сайте ignio.com соответствует.
Last edit: 4 years 8 months ago by Limon142 .

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #8260 by Limon142
Проблема с обновлением решена путем редактирования - public function updateHoro()
А как можно организовать обновление через крон?

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #8263 by JoomLine
Что вы отредактировали?

Крона нет, при загрузке страницы, кешируются данные в файл кеша Joomla и в зависимости от настроек таймер, кеш обновляется.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago - 4 years 7 months ago #8274 by Limon142
отредактировал в - public function updateHoro() адреса XML файлов:
'com' => 'https://img.ignio.com/r/export/utf/xml/daily/com.xml'

и написал плагин обновления с возможностью выбора пользователем через заданное время или крон ссылкой с ключом.
Last edit: 4 years 7 months ago by Limon142 .

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • jomexej304
    • The crimson peony shrimp sushi is big. The shrimp body is almost 9 centimeters long. It's miles sweet and chewy. The beef is thick and very scrumptious. The clam meat cooked with sake is sweet and has no sand. 
    • In Component / Afisha Joomla
    • Баг?
    • У меня одна категория материалов. В этой категории несколько сотен материалов. Есть несколько кастомных полей.Первое типа list (categorywork), другие* list c мультивыбором. Другие* зависят от первого Атрибут showon (categorywork:1, categorywork:2 и так далее). Какие настройки я должен сделать на вкладке "Параметры фильтрации", что бы в модуле подбора вылезали не сразу все "Другие", а только та, которая зависит от showon (как это реализовано в Joomla)? Установлена Joomla 5.1.4 + JL Content Fields Filter v.3.0.0 То есть вылезают все select, даже те которые содержат в себе параметры отсутствующие у материалов (не назначенные к материалам). Изображения: раз: drive.google.com/file/d/1wDtY_iBL5StjrTv...3co/view?usp=sharing два: drive.google.com/file/d/1Vqy5MlJWC15i3z1...nbo/view?usp=sharing
    • In Modules Joomline / JL Content Fields Filter
    • sports
    • Tesla CEO Elon Musk was snubbed from TIME Magazine’s “Most Influential People in AI” list, despite being the driving force behind the company’s self-driving efforts, data collection, and the development of the humanoid robot Optimus, along with other projects, like xAI. TIME released its list today, highlighting what it intended to be a compilation of the most brilliant names in AI. Those on the list have achieved big things, and the names on the list are not to be discredited in any way. Some of the names on the list are the biggest in tech and AI development. Jensen Huang, CEO of Nvidia, Sam Altman, CEO of OpenAI, Satya Nadella, CEO of Microsoft, and Mark Zuckerberg, CEO of Meta, are all included on the list. These are just a few of the names that TIME listed as the most influential in AI, but Musk was not included.  
    • In Общий форум / Общие вопросы по Joomla
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.