motofan logo
17 страниц V < 1 2 3 4 > »         
> 

Screen3 - виджет на рабочем столе, обновляемые погода, гороскоп, новости

Silent_Bob
сообщение 10.6.2009, 4:29 Закрепленное сообщение!


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Screen3 (МОТОЛЕНТА) - это RSS виджет на рабочем столе …
ИзображениеИзображение

Новая версия (25.02.2010): rss.mpkg
Код города узнаём на RP5.RU (адресс страницы - http://rp5.ru/5483/ru, код города - 5483) …
Код валюты - здесь
В авторан (FoxAlarm) добавляем /mmc/mmca1/.system/QTDownLoad/rss/rss.sh now (rss.sh с параметром now) …
Если, после обновления новостей, виджет не «оживает» - в rss.sh раскомментируйте (уберите #) две строчки /usr/SYSqtapp/dynamicidle/di/pluginlib/newsreader/newsreader &
Чтобы повесить RSS на кнопку голосового набора - нужно скачать run.sh, скопировать его в телефон и добавить в авторан mount --bind /путь/к/run.sh /usr/SYSqtapp/vui/vr
ps.gif Если программа установлена в телефон, а не на флэшку - пути в run.sh и авторане придётся изменить соответствующим образом (прямые пути - вынужденная мера) …

Альтернативный конвертор цитат с http://bash.org.ru/
Aвтор: luckydevil13
OS: Windows devil_2.gif
Изображениеa1200-s3-rss.exe
Изображениеa1200_s3_rss.exe.gz (зеркало)

Сообщение отредактировал Silent_Bob - 2.5.2010, 20:19
Прикрепленный файл Pic2.bmp   ( 73.27 килобайт ) Кол-во скачиваний: 21967
Прикрепленный файл Pic1.bmp   ( 78.05 килобайт ) Кол-во скачиваний: 21899
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 31.5.2009, 20:54


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



JOker_E6,
не знаю как планировать. Если мне не изменяет память, то в новых версиях Soft manager (выложенный в ветке "Китайский софт и все для него) можно в автозапуск скрипты прикручивать.

ЗЫ^ изучая разницу в скриптах вроде начал понимать "Чдо да как" щас буду сидеть монаться с гороскопами. smile.gif

Добавлено позже (1.6.2009, 0:58):
Цитата(JOker_E6 @ Сегодня, 0:32)

P.S. можно как нить картинку что справа поменять как нить? иконку?
*


можно. если постараться можно на погоду сделать шоб картинки разные были к примерну ясно - пасмурно. ph34r.gif но очень сложно. а так картинку легко сменить. в файле Контент хмл прописано
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 31.5.2009, 21:49


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Цитата
Поправил entry.xml все заработало smile.gif там синтактическая ошибка на 192 строке.
Кое-что исправил ...
Больше такое не должно происходить ...
Прикрепленный файл lenta.txt   ( 8.97 килобайт ) Кол-во скачиваний: 163
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 31.5.2009, 21:55


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



Silent_Bob,
спс. друще. дай пожалуйста инфу по этим всем командам echo cat sed '2q;d' и т.п

Сообщение отредактировал Fedot_tork - 31.5.2009, 21:59
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 31.5.2009, 22:25


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



То, что у меня щас открыто в опере на эту тему (вроде ничо не закрывал) ...
Сам учился по этому (много лишнего и дубликатов - разбирайся сам) ...
Код
http://www.opennet.ru/base/dev/sed1line.txt.html

http://linuxforum.ru/index.php?showtopic=91254&mode=linear

http://www.opennet.ru/openforum/vsluhforumID9/7769.html

http://www.citforum.ru/operating_systems/unix/kravchuk/8.shtml

http://209.85.129.132/search?q=cache:NTV5UZarDhYJ:chaos.ssu.runnet.ru/cyr/KOI/book/sed-asu.htm+sed+%D0%BF%D0%B5%D1%87%D0%B0%D1%82%D0%B0%D1%82%D1%8C+%D0%B4%D0%BE&cd=3&hl=ru&ct=clnk&client=opera

http://ftp.appm.ru/doc/man/Linux/opersys/node66.html

http://forum.script-coding.info/viewtopic.php?id=2268

http://rus-linux.net/lib.php?name=MyLDP/consol/HuMan/sed-ru.html

http://www.citforum.ru/operating_systems/articles/sed_awk.shtml

http://www.opennet.ru/base/dev/shell_coding.txt.html


Сообщение отредактировал Silent_Bob - 1.6.2009, 9:40
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 31.5.2009, 22:29


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



спасибо
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 31.5.2009, 22:30


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



ps.gif ">" отправляет вывод в файл, предварительно очищая его (если можно так выразиться) ...
">>" добавляет вывод к файлу ...
Есть ещё "2>" (если не ошибаюсь) - для вывода "второго уровня" (sorry за терминологию) ...

Сообщение отредактировал Silent_Bob - 31.5.2009, 22:34
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 31.5.2009, 22:41


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



Код
while [ "`cat "/tmp/aries.xml" | sed '7q;d'`" != "" ]

объясни мне пожалуйста про сед в трех словах на примере этой строки
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 31.5.2009, 22:43


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Код
while [ "`cat "/tmp/aries.xml" | sed '7q;d'`" != "" ]
читает строку 7, если там станет пусто - прекратит выполнение скрипта ...

Сообщение отредактировал Silent_Bob - 31.5.2009, 22:44
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 31.5.2009, 22:49


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



спасибо. теперь врубился как тут все. ph34r.gif
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 31.5.2009, 23:17


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Спасибом сыт не будешь devil_2.gif...
ps.gif Для тех, кому мой аватар в новостной ленте надоел (см. ниже) ...

Сообщение отредактировал Silent_Bob - 31.5.2009, 23:33
Прикрепленное изображение Прикрепленное изображение Прикрепленное изображение Прикрепленное изображение Прикрепленное изображение
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 1.6.2009, 4:28


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Цитата(Fedot_tork @ Вчера, 20:54)

а так картинку легко сменить. в файле Контент хмл прописано
*


Эээ...в этом файле 740 строк и где там что прописано...Оо можеш ткнуть или куда картинку кидать или там на нее ссылку нада прописать?
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 1.6.2009, 5:48


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



content.xml - там даже обезьяна разберётся ...
ps.gif Походу ты с entry.xml перепутал ...

Сообщение отредактировал Silent_Bob - 1.6.2009, 5:54
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 1.6.2009, 6:01


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



Silent_Bob,
доброе утро. блин ычера чет со скриптом начудил. теперь тело не загружается...
вот кусок скрипта
Код
while [ "`cat "/tmp/import.xml" | sed '8q;d'`" != "" ]
do
echo "<entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<index>65535</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<seqNumber>05</seqNumber>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<ctxtID>monternet05</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<feedCtxtID>00000004</feedCtxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '17q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '18q;d' | sed 's/description/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '12q;d' | sed 's/url/link/g' | sed 's/".*<\/title>/<\/link>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<activation>1</activation>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<referenced>1</referenced>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "</entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
sed '5,11d' "/tmp/import.xml" > "/tmp/import.tmp"
cat "/tmp/import.tmp" > "/tmp/import.xml"
done
echo "</entry-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
rm "/tmp/XML_daily.asp"
rm "/tmp/import.tmp"
rm "/tmp/import.xml"
kill `pidof newsreader`

busybox wget "http://astroscope.ru/rss_feed/aries.rss" -O "/tmp/import.xml"
какой командой можно тело в режим модема перевезти в теленете

Сообщение отредактировал Fedot_tork - 1.6.2009, 6:06
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 1.6.2009, 9:35


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Цитата
какой командой можно тело в режим модема перевезти в теленете
echo MotACM > /proc/motusbd
ps.gif А те зачем ???

Добавлено позже (1.6.2009, 13:37):
Скорее всего ты неправельно задал while и *.xml размахало на несколько мегабайт - вот и не грузицца ...

Добавлено позже (1.6.2009, 13:38):
rm "/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml" в авторан - и ты удалишь файл, который у тебя всю память забил ...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 1.6.2009, 17:22


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



Silent_Bob,
спаибо. выручил меня очень сильно. thumbsup.gif
Щас продолжу копать.
ЗЫ: я добьюсь своего....... cool.gif
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 1.6.2009, 19:29


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Цитата(Silent_Bob @ Сегодня, 5:48)

content.xml - там даже обезьяна разберётся ...
ps.gif Походу ты с entry.xml перепутал ...
*


Да нет не перепутал...
у меня именно в content.xml 790 строк...может потому что у меня Е6?
Вот содерджимое:
Spoiler:
[code]<?xml version="1.0" encoding="UTF-8"?>
<content-pkg>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoem</ctxtID>
<parentCtxtID>jqtsda3o55</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoem</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2l</ctxtID>
<parentCtxtID>jqtsda4260</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2l</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda3svk</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>3</index>
<status>0</status>
<state>4</state>
<type>11</type>
<ctxtID>channel.png</ctxtID>
<parentCtxtID>00000001</parentCtxtID>
<location>/usr/data_resource/screen3/channel.png</location>
<href></href>
<name></name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46zd</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46xy</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46zg</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46xw</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46y0</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46y2</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46y4</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46y6</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46y8</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda46ya</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda49s</ctxtID>
<parentCtxtID>jqtsda42zw</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda49s</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda3se</ctxtID>
<parentCtxtID>jqtsda42zx</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda3se</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda4d6</ctxtID>
<parentCtxtID>jqtsda42zy</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda4d6</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda3mh</ctxtID>
<parentCtxtID>jqtsda42zz</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda3mh</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda9m0</ctxtID>
<parentCtxtID>jqtsda4300</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda9m0</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda3if</ctxtID>
<parentCtxtID>jqtsda4301</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda3if</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsday2</ctxtID>
<parentCtxtID>jqtsda425w</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsday2</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsday2</ctxtID>
<parentCtxtID>jqtsda425x</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsday2</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsday2</ctxtID>
<parentCtxtID>jqtsda42fs</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsday2</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsday2</ctxtID>
<parentCtxtID>jqtsda425z</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsday2</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoen</ctxtID>
<parentCtxtID>jqtsda46z7</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoen</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaojo</ctxtID>
<parentCtxtID>jqtsda46z8</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaojo</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaof6</ctxtID>
<parentCtxtID>jqtsda46z9</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaof6</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoeq</ctxtID>
<parentCtxtID>jqtsda46za</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoeq</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoer</ctxtID>
<parentCtxtID>jqtsda46zb</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoer</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda4723</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda475e</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda4727</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda475h</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda473r</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda473u</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda473w</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda473y</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda472b</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda4741</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda4743</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda472d</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda4746</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda4748</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoer</ctxtID>
<parentCtxtID>jqtsda4756</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoer</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaojo</ctxtID>
<parentCtxtID>jqtsda4757</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaojo</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda1c72</ctxtID>
<parentCtxtID>jqtsda4758</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda1c72</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaone</ctxtID>
<parentCtxtID>jqtsda4759</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaone</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaone</ctxtID>
<parentCtxtID>jqtsda475a</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaone</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47h8</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47ha</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47k6</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47cu</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47cw</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47d0</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47d2</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda476u</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47em</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsda2k</ctxtID>
<parentCtxtID>jqtsda47d7</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsda2k</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaojo</ctxtID>
<parentCtxtID>jqtsda47ra</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaojo</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoiy</ctxtID>
<parentCtxtID>jqtsda47rb</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoiy</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoeq</ctxtID>
<parentCtxtID>jqtsda47rc</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoeq</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaox6</ctxtID>
<parentCtxtID>jqtsda47rd</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaox6</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>1</state>
<type>11</type>
<ctxtID>jqtsdaoiy</ctxtID>
<parentCtxtID>jqtsda47re</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaoiy</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>0</state>
<type>11</type>
<ctxtID>jqtsdaom1</ctxtID>
<parentCtxtID>jqtsda47rh</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaom1</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>0</state>
<type>11</type>
<ctxtID>jqtsdaox6</ctxtID>
<parentCtxtID>jqtsda47ri</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaox6</location>
<href></href>
<name>image</name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>0</state>
<type>11</type>
<ctxtID>jqtsdaof6</ctxtID>
<parentCtxtID>jqtsda47rj</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/jqtsdaof6</location>
<href></href>
<name>
[close]


ты пожалуйста спойлер закрывать не забывай, а то читать невозможно странцу

Сообщение отредактировал PUSYA - 2.6.2009, 8:02
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 1.6.2009, 19:37


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Код
<?xml version="1.0" encoding="UTF-8"?>
<content-pkg>
    <content>
        <index>4</index>
        <status>0</status>
        <state>4</state>
        <type>11</type>
        <ctxtID>monternet.jpg</ctxtID>
        <parentCtxtID>00000004</parentCtxtID>
        <location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/rss.png</location>
        <href></href>
        <name></name>
    </content>
</content-pkg>


Добавлено позже (1.6.2009, 23:39):
ps.gif В принципе у тя достаточно было только первую часть (<content>...</content>) оставить ...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 1.6.2009, 20:23


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/rss.png

Тут файла картинки нету...
создал там новый он не заменился...(

Сообщение отредактировал JOker_E6 - 1.6.2009, 20:55
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 1.6.2009, 21:52


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Ты уверен, что путь, расширение файла или название не напутал ???
+ Удали оттуда все остальные картинки ...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 1.6.2009, 22:45


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



Silent_Bob,
подскажи как через оператор sed удалить с 4 по 14 строки....
блин, че я только не перепробовал. нихотят удаляться и все тут.
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 1.6.2009, 22:52


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Цитата
Silent_Bob,
подскажи как через оператор sed удалить с 4 по 14 строки....
блин, че я только не перепробовал. нихотят удаляться и все тут.
sed '4,14d'

Добавлено позже (2.6.2009, 2:56):
Цитата
Тут файла картинки нету...
создал там новый он не заменился...(
Ну скинь мне все картинки из /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/ и скриншот того, что отображается ...
ps.gif Или сам попробуй заменить картинку, которая отображается (только если она не намертво в прошивке) ...

Сообщение отредактировал Silent_Bob - 1.6.2009, 22:56
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
fatso
сообщение 2.6.2009, 7:14


Интересующийся
**

Группа: Пользователи
Сообщений: 42
Регистрация: 1.4.2006
Из: Краснодар
Пользователь №: 76 812
Модель телефона: A1200e, Milestone
Прошивка: Bob's 2.0, Cyanogen

Рейтинг: 5



спасибо громедное за проделанную работу
скриптик кинул на флешку
работал и Yes.txt и lenta.ru
тока переименовывал расширение в *.sh

далее поковырял содержимое
/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/content.xml
Код
  <?xml version="1.0" encoding="UTF-8" ?>
- <content-pkg>
- <content>
  <index>5</index>
  <status>0</status>
  <state>4</state>
  <type>11</type>
  <ctxtID>rss.png</ctxtID>
  <parentCtxtID>00000004</parentCtxtID>
  <location>/mmc/mmca1/rss.png</location>
  <href />
  <name />
  </content>
  </content-pkg>

переписал путь к картинке которая лежит в корне флешки с именем rss.png
далее мне не понравилась картинка которая была родная и предложеные в преыдущем посте тоже не подошли, хоть и симпатичные, т.к. без прозрачности
нашел сайтик и иконки с прозрачностью, которые выглядят симпатичнее
http://www.iconspedia.com/icon/rss-feed-pink-541.html
терь вот какая тема интересуеть
мдя было бы прикольно прикрутить гороскоп и т.д.
но вот мое мнение еще было бы не плохо когда курс прописывается
чтобы еще и дата на какой день взят курс прописывалась
не силен в скриптировании и не ковырялся еще
потому не знаю как это сделать

Сообщение отредактировал fatso - 2.6.2009, 7:47
Прикрепленное изображение
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
SergGG
сообщение 2.6.2009, 13:24


Мингофан
*******

Группа: Почётные мотофаны
Сообщений: 1 540
Регистрация: 30.5.2006
Из: Дніпро
Пользователь №: 85 418
Модель телефона: Droid Turbo
Прошивка: 6.0
Победитель конкурса 2008


Настроение:
Капітан Збройних сил України



Рейтинг: 1612



Цитата(Fedot_tork @ 1.6.2009, 9:01) *

Silent_Bob,
доброе утро. блин ычера чет со скриптом начудил. теперь тело не загружается...
вот кусок скрипта
Код
while ...kill `pidof newsreader`

busybox wget "http://astroscope.ru/rss_feed/aries.rss" -O "/tmp/import.xml"
какой командой можно тело в режим модема перевезти в теленете

прошу подобные сообщения с большими кусками кода оформлять с помощью spoiler - кнопка правее кнопки code. Примерно так
Spoiler:
Код
while [ "`cat "/tmp/import.xml" | sed '8q;d'`" != "" ]
do
echo "<entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<index>65535</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<seqNumber>05</seqNumber>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<ctxtID>monternet05</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<feedCtxtID>00000004</feedCtxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '17q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '18q;d' | sed 's/description/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '12q;d' | sed 's/url/link/g' | sed 's/".*<\/title>/<\/link>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<activation>1</activation>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<referenced>1</referenced>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "</entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
sed '5,11d' "/tmp/import.xml" > "/tmp/import.tmp"
cat "/tmp/import.tmp" > "/tmp/import.xml"
done
echo "</entry-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
rm "/tmp/XML_daily.asp"
rm "/tmp/import.tmp"
rm "/tmp/import.xml"
kill `pidof newsreader`
[close]


Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 3.6.2009, 1:57


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Скоро накурю погодный информер с картинками ...

Добавлено позже (3.6.2009, 6:05):
Ну нескоро biggrin.gif ...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 3.6.2009, 16:26


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Почему-то wget не хочет качать картинки (делает вид что качает, но файла нет) ...

Добавлено позже (3.6.2009, 20:28):
Может х[censored] с этими картинками (всё-равно они отображаются почему-то только, если развернуть screen3 на весь экран) ...
Может лучше мне над структурой сообщений поработать (упорядочить по-человечески) ...

Добавлено позже (3.6.2009, 20:56):
Разобрался с картинками - извращение (сначала в stdout, а оттуда в файл) ...
Почему напрямую в файл не пишет ???

Добавлено позже (3.6.2009, 20:59):
Теперь над структурой сообщений работать (screen3 - явно не очень трезвые люди делали) ...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Илья Дорошенко
сообщение 3.6.2009, 17:06


Ветеран
*****

Группа: Пользователи
Сообщений: 640
Регистрация: 9.10.2007
Из: под славным Тольятти
Пользователь №: 149 988
Модель телефона: a1200, e2, Веха (!)
Прошивка: Самопал


Настроение:
Fgfnbz



Рейтинг: 85.5



ха))) трезвые не делают рабочих вещей...
русская народная мудрость...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 3.6.2009, 18:08


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Скрипт:
CODE
#!/bin/ash
napi_on "Beeline INTERNET" & sleep 10
busybox wget "http://www.cbr.ru/scripts/XML_daily.asp" -O "/tmp/XML_daily.asp"
busybox wget "http://informer.gismeteo.ru/rss/27612.xml" -O "/tmp/gismeteo.xml"
$(cat "/tmp/gismeteo.xml" | sed '20q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_1.gif
$(cat "/tmp/gismeteo.xml" | sed '29q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_2.gif
$(cat "/tmp/gismeteo.xml" | sed '38q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_3.gif
$(cat "/tmp/gismeteo.xml" | sed '47q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_4.gif
busybox wget "http://lenta.ru/l/r/EX/import.xml" -O "/tmp/import.xml"
kill `pidof napi_on`
echo '<?xml version="1.0" encoding="windows-1251"?>' > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>01</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title>Lenta.ru: Новости</title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<summary>Ежедневная интернет-газета. Новости со всего мира на русском языке.</summary>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://lenta.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>02</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title>Курсы валют</title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed '2q;d' | sed 's/<ValCurs Date="/<summary>С\ /g;s/" name="Foreign Currency Market">/<\/summary>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>03</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/USD/{n;n;p;}' | sed 's/<Name>/<title>1\ /g;s/<\/Name>/<\/title>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/USD/{n;n;n;p;}' | sed 's/Value/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>04</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/EUR/{n;n;p;}' | sed 's/<Name>/<title>1\ /g;s/<\/Name>/<\/title>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/EUR/{n;n;n;p;}' | sed 's/Value/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>05</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/JPY/{n;n;p;}' | sed 's/<Name>/<title>100\ /g;s/<\/Name>/<\/title>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/JPY/{n;n;n;p;}' | sed 's/Value/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>06</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title>GISMETEO.RU:</title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '21q;d' | sed 's/<source url=".*">GISMETEO.RU: /<summary>/g' | sed 's/<\/source>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.gismeteo.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>07</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000005</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '16q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '18q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '17q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>08</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000006</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '25q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '27q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '26q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>09</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000007</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '34q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '36q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '35q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>10</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000008</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '43q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '45q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '44q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>11</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title></title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<summary></summary>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link></link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo '<?xml version="1.0" encoding="windows-1251"?>' > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
while [ "`cat "/tmp/import.xml" | sed '8q;d'`" != "" ]
do
echo "<entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<index>65535</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<seqNumber>12</seqNumber>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<ctxtID>monternet12</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<feedCtxtID>00000004</feedCtxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '7q;d' | sed 's/ href=.*"//' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '8q;d' | sed 's/subtitle/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '7q;d' | sed 's/.*href="/<link>/g' | sed 's/".*<\/title>/<\/link>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<activation>1</activation>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<referenced>1</referenced>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "</entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
sed '5,11d' "/tmp/import.xml" > "/tmp/import.tmp"
echo "<entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<index>65535</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<seqNumber>12</seqNumber>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<ctxtID>monternet12</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<feedCtxtID>00000004</feedCtxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.tmp" | sed '7q;d' | sed 's/ href=.*"//' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.tmp" | sed '8q;d' | sed 's/subtitle/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.tmp" | sed '7q;d' | sed 's/.*href="/<link>/g' | sed 's/".*<\/title>/<\/link>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<activation>1</activation>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<referenced>1</referenced>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "</entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
sed '5,11d' "/tmp/import.tmp" > "/tmp/import.xml"
done
echo "</entry-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
rm "/tmp/XML_daily.asp"
rm "/tmp/gismeteo.xml"
rm "/tmp/import.tmp"
rm "/tmp/import.xml"
kill `pidof newsreader`

ps.gif Сохраняем в: формат новой строки - UNIX, кодировка - CP1251 ...

Если захотите поменять путь к busybox в " sed 's/<enclosure url="/busybox wget /g' ", то выглядеть он будет примерно так: "\/mmc\/mmca1\/busybox"

Проще сделать через export PATH=/mmc/mmca1/bin:$PATH и положить busybox в /mmc/mmca1/bin ...

Код города (27612 в соответствующей ссылке) можно узнать здесь http://icq.gismeteo.ru/code.html ...

Добавил с какого числа вводится курс валют ...

Работоспособность на чужих прошивках не гарантирую ...

У меня каким-то непонятным образом даже работает ...
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
content.xml:
CODE
<?xml version="1.0" encoding="UTF-8"?>
<content-pkg>
<content>
<index>4</index>
<status>0</status>
<state>4</state>
<type>11</type>
<ctxtID>monternet.jpg</ctxtID>
<parentCtxtID>00000004</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/rss.png</location>
<href></href>
<name></name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>4</state>
<type>11</type>
<ctxtID>monternet.jpg</ctxtID>
<parentCtxtID>00000005</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_1.gif</location>
<href></href>
<name></name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>4</state>
<type>11</type>
<ctxtID>monternet.jpg</ctxtID>
<parentCtxtID>00000006</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_2.gif</location>
<href></href>
<name></name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>4</state>
<type>11</type>
<ctxtID>monternet.jpg</ctxtID>
<parentCtxtID>00000007</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_3.gif</location>
<href></href>
<name></name>
</content>
<content>
<index>4</index>
<status>0</status>
<state>4</state>
<type>11</type>
<ctxtID>monternet.jpg</ctxtID>
<parentCtxtID>00000008</parentCtxtID>
<location>/ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_4.gif</location>
<href></href>
<name></name>
</content>
</content-pkg>

ps.gif Разумеется /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/rss.png должен существовать ...

Сообщение отредактировал Silent_Bob - 3.6.2009, 18:55
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Fedot_tork
сообщение 3.6.2009, 20:19


Проказник
*****

Группа: Пользователи
Сообщений: 338
Регистрация: 19.8.2006
Из: Владимирской обл. г. Костерево
Пользователь №: 95 684
Модель телефона: zn5
Прошивка: *#0000#

Рейтинг: 58



привет всем! Респект СайлентБоб smile.gif реальные вещи делаешь! спасибо дружище!!!
я кстати сделал информер на гороскоп (опишу что да как в выходные, сейчас никак (сам через трубу выхожу, дома в выходные только буду)) там немного муторный процесс, думаю сайлентБоб поправит-упростит.
Сайлент боб, еще раз тебе респек и уважуха МОЗГ smile.gif
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 4.6.2009, 13:38


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Попробовал у себя...
Запустил скрипт скрин3 показал заголовок - Лента новости ежедневные.., потом курс валют, и еще погоду...
Но загружать с сервера отказываеться...загружаеться опять эти левые новости..о которых я писал ранее...

странно...
может что в настройках самного скрин3 поковырять?
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 4.6.2009, 14:43


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Цитата
загружать с сервера отказываеться
Запусти в консоли, предварительно добавив export PATH=/mmc/mmca1/bin:$PATHмежду #!/bin/ash и napi_on "Beeline INTERNET" и положив busybox и napi_on в /mmc/mmca1/bin ...
ps.gif Чо вообще в консоли пишет ???

Сообщение отредактировал Silent_Bob - 4.6.2009, 15:00
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 4.6.2009, 15:32


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Silent_Bob,
В консоли что прописать чтоб запустить скрипт?
Иии...где взять busybox и napi_on...что то я не догнал слегка... ph34r.gif
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
_Bolik_
сообщение 4.6.2009, 15:53


Motolancer
*****

Группа: Пользователи
Сообщений: 528
Регистрация: 18.12.2006
Из: UA Львів
Пользователь №: 111 986
Модель телефона: Razr XT910
Прошивка: 4.1.2 JB

Рейтинг: 195



Цитата(JOker_E6 @ 4.6.2009, 17:32) *

Silent_Bob,
В консоли что прописать чтоб запустить скрипт?
Иии...где взять busybox и napi_on...что то я не догнал слегка... ph34r.gif


гы )

запиши на флешку или ezxlocal, у СайлентБоба в проше они интегрированы ). В mooTaNt`е нет ...

+ поломан интернет (у меня работает только почтовый клиент).... ну ето пока...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 4.6.2009, 17:33


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Прикрепленный файл busybox.gz   ( 360.19 килобайт ) Кол-во скачиваний: 562
Прикрепленный файл napi_on.gz   ( 2.89 килобайт ) Кол-во скачиваний: 568
ps.gif Распаковать !!!

Сообщение отредактировал Silent_Bob - 4.6.2009, 22:31
Прикрепленный файл busybox.gz   ( 360.19 килобайт ) Кол-во скачиваний: 562
Прикрепленный файл napi_on.gz   ( 2.89 килобайт ) Кол-во скачиваний: 568
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 4.6.2009, 19:16


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Распаковал я busybox и napi_on на флешку в mmc/mmc1/bin
Запускаю скрипт, после запуска скрипта ничего не проиходит...как висела левая реклама так и висит в скрин3...

Вот скрипт, мож что то не так в нем сделал? shuffle.gif
Spoiler:

Код
#!/bin/ash export PATH=/mmc/mmca1/bin:$PATH
napi_on"Beeline INTERNET" & sleep 10
busybox wget "http://www.cbr.ru/scripts/XML_daily.asp" -O "/tmp/XML_daily.asp"
busybox wget "http://informer.gismeteo.ru/rss/27612.xml" -O "/tmp/gismeteo.xml"
$(cat "/tmp/gismeteo.xml" | sed '20q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_1.gif
$(cat "/tmp/gismeteo.xml" | sed '29q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_2.gif
$(cat "/tmp/gismeteo.xml" | sed '38q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_3.gif
$(cat "/tmp/gismeteo.xml" | sed '47q;d' | sed 's/<enclosure url="/busybox wget /g' | sed 's/" .*\/>/ -O - /' | sed 's/pda/img/') > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/image/gismeteo_4.gif
busybox wget "http://lenta.ru/l/r/EX/import.xml" -O "/tmp/import.xml"
kill `pidof napi_on`
echo '<?xml version="1.0" encoding="windows-1251"?>' > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>01</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title>Lenta.ru: ���/title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<summary>����� ���-��� ���������� ����.</summary>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://lenta.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>02</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title>� ��</title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed '2q;d' | sed 's/<ValCurs Date="/<summary>� /g;s/" name="Foreign Currency Market">/<\/summary>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>03</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/USD/{n;n;p;}' | sed 's/<Name>/<title>1\ /g;s/<\/Name>/<\/title>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/USD/{n;n;n;p;}' | sed 's/Value/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>04</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/EUR/{n;n;p;}' | sed 's/<Name>/<title>1\ /g;s/<\/Name>/<\/title>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/EUR/{n;n;n;p;}' | sed 's/Value/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>05</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/JPY/{n;n;p;}' | sed 's/<Name>/<title>100\ /g;s/<\/Name>/<\/title>/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/XML_daily.asp" | sed -n '/JPY/{n;n;n;p;}' | sed 's/Value/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.cbr.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>06</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title>GISMETEO.RU:</title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '21q;d' | sed 's/<source url=".*">GISMETEO.RU: /<summary>/g' | sed 's/<\/source>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link>http://www.gismeteo.ru/</link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>07</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000005</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '16q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '18q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '17q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>08</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000006</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '25q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '27q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '26q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>09</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000007</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '34q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '36q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '35q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>10</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000008</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '43q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '45q;d' | sed 's/<description>/<summary>/g' | sed 's/<\/description>/<\/summary>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
cat "/tmp/gismeteo.xml" | sed '44q;d' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<index>11</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<ctxtID>00000004</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<title></title>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<summary></summary>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<link></link>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<hide>0</hide>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<anchor></anchor>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<target></target>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "<order>65535</order>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo "</feed-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/feed.xml
echo '<?xml version="1.0" encoding="windows-1251"?>' > /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
while [ "`cat "/tmp/import.xml" | sed '8q;d'`" != "" ]
do
echo "<entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<index>65535</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<seqNumber>12</seqNumber>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<ctxtID>monternet12</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<feedCtxtID>00000004</feedCtxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '7q;d' | sed 's/ href=.*"//' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '8q;d' | sed 's/subtitle/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.xml" | sed '7q;d' | sed 's/.*href="/<link>/g' | sed 's/".*<\/title>/<\/link>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<activation>1</activation>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<referenced>1</referenced>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "</entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
sed '5,11d' "/tmp/import.xml" > "/tmp/import.tmp"
echo "<entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<index>65535</index>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<seqNumber>12</seqNumber>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<ctxtID>monternet12</ctxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<feedCtxtID>00000004</feedCtxtID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<templateID></templateID>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.tmp" | sed '7q;d' | sed 's/ href=.*"//' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.tmp" | sed '8q;d' | sed 's/subtitle/summary/g' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<entry-type>cs</entry-type>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
cat "/tmp/import.tmp" | sed '7q;d' | sed 's/.*href="/<link>/g' | sed 's/".*<\/title>/<\/link>/' >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<canExcerpt>1</canExcerpt>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<activation>1</activation>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "<referenced>1</referenced>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
echo "</entry>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
sed '5,11d' "/tmp/import.tmp" > "/tmp/import.xml"
done
echo "</entry-pkg>" >> /ezxlocal/download/appwrite/dynamicidle/di/pluginlib/newsreader/xml/entry.xml
rm "/tmp/XML_daily.asp"
rm "/tmp/gismeteo.xml"
rm "/tmp/import.tmp"
rm "/tmp/import.xml"
kill `pidof newsreader`
[close]
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 4.6.2009, 19:42


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Цитата
#!/bin/ash
export PATH=/mmc/mmca1/bin:$PATH
napi_on "Beeline INTERNET" & sleep 10
ps.gif Ещё походу, с кодировками попутал ...

Сообщение отредактировал Silent_Bob - 4.6.2009, 19:49
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 4.6.2009, 20:04


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Кодировка в Notepsd++:
Преобразовать в UNIX-формат
Кодировать в UTF-8(без BOM)

что не так?

Добавлено позже (4.6.2009, 20:06):
Щас запустил скрипт...и вообще на скрине3 вообще пусто...только стрелки и все..пусто что то...

Сообщение отредактировал JOker_E6 - 4.6.2009, 20:05
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 4.6.2009, 20:44


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Цитата
Кодировка в Notepsd++:
Преобразовать в UNIX-формат
Кодировать в UTF-8(без BOM)
что не так?
Я уже писал: CP1251 ...
Цитата
только стрелки и все..пусто что то...
Не качаются у тебя новости ...

Добавлено позже (5.6.2009, 0:45):
В Notepad++ по-моему ANSI ...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 4.6.2009, 20:47


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Цитата(Silent_Bob @ Сегодня, 20:44)

Добавлено позже (5.6.2009, 0:45):
В Notepad++ по-моему ANSI ...
*


Вот...щас попробую...а то CP1251 в нотепаде то и нету...я искал так и не нашел...
щас попробую..отпишусь что да как...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Silent_Bob
сообщение 4.6.2009, 20:47


Городской партизан
********

Группа: Разработчики
Сообщений: 3 590
Регистрация: 6.2.2008
Пользователь №: 162 603

Рейтинг: 807



Запусти в консоли, чтоли ... Для разнообразия (хотя с этого надо было начинать) ...
ps.gif Щас буду мутить с картинками (типа красиво будет) ...

Сообщение отредактировал Silent_Bob - 4.6.2009, 20:54
Прикрепленное изображение
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
JOker_E6
сообщение 4.6.2009, 21:00


Ветеран
*****

Группа: Пользователи
Сообщений: 328
Регистрация: 13.9.2008
Из: Переславль-Залесский
Пользователь №: 181 248
Модель телефона: E6 Z6
Прошивка: R535

Рейтинг: 14



Поставил кодировку другую...тоже самое...
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
Screen3 - виджет на рабочем столе, обновляемые погода, гороскоп, новости · Motorola ROKR E6, E6e, E6tv, MING A1200, A1200i, A1200e, A1200r, A1200w, A1600 · Forum
 

17 страниц V < 1 2 3 4 > » 
Ответ в темуСоздание новой темы
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 



Текстовая версия Сейчас: 22.7.2025, 21:44

Форум живёт: