Author |
Message |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Mon Oct 27, 2014 9:32 am |

|
hi
i got this from my hosting service :
Unfortunately remote SSH access is only available on our Premium and Business hosting plans. SSH console, however, is available on all plans and can be accessed at http://cpanel.hostinger.in/advanced/ssh-console/aid/6535853
SO i triede the second method you gave me, but i didn't succeed :
u523623563$ [/home/u523623563/]
u523623563$ [/home/u523623563/] ssh /home/u523623563/[email protected]
-bash: ssh /home/u523623563/[email protected]: command not found
u523623563$ [/home/u523623563/] ssh /home/[email protected]
-bash: ssh /home/[email protected]: command not found
u523623563$ [/home/u523623563/] ssh
-bash: ssh : command not found
so is there a way or i am doing something wrong
or should i move to a different hosting ,and if so could you be kind to suggest on free web hosting with PHP support .
thanks
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Mon Oct 27, 2014 10:55 am |

|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Mon Oct 27, 2014 12:24 pm |

|
ok it worked for that user (the public) /home/u523623563/
my other user that for the rss is u523623563.me
but i don't know how to move to that directory u523623563.me
anyway i will try to find out from the web and if you can guide me it will be much faster
thank's
|
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Mon Oct 27, 2014 12:26 pm |

|
ok it worked for that user (the public) /home/u523623563/
u523623563$ [/home/u523623563/] ls
DO_NOT_UPLOAD_HERE
news_1.rss
public_html
my other user that for the rss is u523623563.me
but i don't know how to move to that directory u523623563.me
anyway i will try to find out from the web and if you can guide me it will be much faster
thank's
|
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Wed Oct 29, 2014 4:44 am |

|
I succeeded in adding the rss file to my file manager by the console :
23623563$ [/home/u523623563/] cd public_html
u523623563$ [/home/u523623563/public_html/] ls
1 copy 1.html
1.html
1.jpg
15a.jpg
FeedForAll_XMLParser.inc.php
_file-manager
ar.html
c.html
c.jpg
d.html
d.jpg
default.html
default.php
default2.html
english.html
i.jpg
mail.php
mail1.php
mail2.php
rss2html.php
sample-template.html
sample.xml
test10.jpg
untitled file.txt
u523623563$ [/home/u523623563/public_html/] wget www.investing.com/rss/news_1.rss
-bash: wget www.investing.com/rss/news_1.rss: 5450af0d79676: SID#66: srv66-5450af621419a0.40403826 - --2014-10-29 09:12:02-- http://www.investing.com/rss/news_1.rss
Resolving www.investing.com... 217.68.26.117
Connecting to www.investing.com|217.68.26.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2940 (2.9K) [application/rss+xml]
Saving to: `news_1.rss'
0K .. 100% 300M=0s
2014-10-29 09:12:02 (300 MB/s) - `news_1.rss' saved [2940/2940]
u523623563$ [/home/u523623563/public_html/] ls
1 copy 1.html
1.html
1.jpg
15a.jpg
FeedForAll_XMLParser.inc.php
_file-manager
ar.html
c.html
c.jpg
d.html
d.jpg
default.html
default.php
default2.html
english.html
i.jpg
mail.php
mail1.php
mail2.php
news_1.rss
rss2html.php
sample-template.html
sample.xml
test10.jpg
untitled file.txt
and now why it doesn't show my news in http://tdawool.esy.es/d.html
i have sample-template.html to feed the news from the rss file
any suggestion will be welcomed
thank's
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Wed Oct 29, 2014 1:42 pm |

|
I'm trying to run some test, but your sample template is kind of messed up, so I can't get too far.
Can you update your sample-template.html file so it matches the text below?
Thanks
Code: |
????? ?????
~~~BeginItemsRecord~~~
? ?
? ? ? ? ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~
? ? |
? ?
? ? ? ? ~~~ItemTitle~~~
? ? |
? ?
? ? ? ? ~~~ItemDescription~~~
? ? ? ?
? ? ? ?
? ? |
~~~EndItemsRecord~~~
|
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Wed Oct 29, 2014 3:01 pm |

|
hi
i have updated the file as you asked
thank's for the help
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Wed Oct 29, 2014 3:51 pm |

|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Wed Oct 29, 2014 4:04 pm |

|
ok i have added the page "test.html"
:)
|
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Wed Oct 29, 2014 4:44 pm |

|
hi again first of all you are [u]#1[/u]
i have a silly question :
do i have to update the rss every day manually or it update automatically
thank's
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Wed Oct 29, 2014 5:16 pm |

|
Every time someone accesses your page it will pull the most current copy of the feed, so you don't need to do anything to keep it updated.
From my test it looks like the webserver isn't processing the INCLUDE statement in the test.html webpage. Some servers will only look for INCLUDEs if the webpage has shtml for an extension. Can you please rename test.html to test.shtml.
Thanks
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Wed Oct 29, 2014 5:32 pm |

|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Wed Oct 29, 2014 6:31 pm |

|
The server side include still isn't working.
You probably need to inquire with your web host what is necessary to get server side includes working for your webpages.
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Thu Oct 30, 2014 1:01 am |

|
ok
thank you very much ,i will do that .
i tried to add an iframe to include the sample_template.html
but it didn't work it just gave me the template alone with no news in it .
thank you very much and have a nice day.
|
|
|
 |
 |
tdawool
Joined: 22 Oct 2014
Posts: 25
|
Posted: Thu Oct 30, 2014 11:57 am |

|
|
 |
 |
|