编辑没有来源的网页

发布于 2025-01-07 19:28:49 字数 205 浏览 0 评论 0原文

我是一名新开发人员(10 号刚毕业),被一家公司雇用做 Web 开发。我被要求对这家公司收购的网站进行一些小改动。问题是我们无法访问源代码(显然,人们与以前的开发人员分手了,无法获取源代码,我不太确定)。有没有办法可以向网站添加链接并使其实时更改?我有 Visual Studios、地址、链接和它们将转到的视频,这不是硬修复,但我不知道如何在没有源代码的情况下编辑网站。有什么建议吗?提前致谢!

I am a new developer (as in just graduated on the 10th) and was hired by a company to do web development. I was asked to do some minor changes to a site that this company acquired. The problem is that we do not have access to the source code (apparently the people had a bad break up with their previous developers and cannot get the source, I'm not exactly sure). Is there a way I can add links to a site and have it change live? I have Visual Studios, the address, the links, and the videos they will go to, not a hard fix, but I don't know how to edit the site without the source code. Any suggestions? Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柳若烟 2025-01-14 19:28:49

我建议您与资深或上级交谈,并获取有关如何继续的更多信息,因为以不专业(或合法)的方式(例如使用网站破解器或其他方式)获取该代码将是一个糟糕的职业举动;)

好运气。

I advise you to talk to a senior or superior and get more information on how to proceed, because getting that code in a less than professional (or legal) way (e.g. using website rippers or something) would be a bad career move ;)

good luck.

隔纱相望 2025-01-14 19:28:49

有趣的情况我应该说,公司在分拆前肯定没有做好功课
我假设您对以下问题回答“是”

  • 贵公司是该网站的合法所有者吗?
  • 您可以更改名称服务器或 CName 等吗?
  • 当前网站不是 Flash 或 silverlight

如果在这里 - 您对上述所有内容都说“是”。

  • 首先导航到该网站的每个页面。文件另存为
    每个页面都为 html(确保您选择网页完整 -
    这也将保存所有图像)我意识到这将是静态的,但您在这里无能为力
  • 获取所有资源(样式表、xsds(如果有)、任何其他图像)
  • 根据要求丰富此内容(即添加动态内容、更改徽标等)
  • 修改 cname 或名称服务器以指向该位置(网络服务器)
    你一切尽在掌握。
  • 部署您丰富且经过测试的代码
  • 教育您的公司善待开发人员,当出现问题时,确保过渡顺利完成

好运

我希望这有所帮助,祝克里希纳

interesting situation I should say, the company definetely didnt do its homework before the break-up
I am presuming you answer "yes" for the questions below

  • Is your company the legal owner of this website?
  • can you change the name servers or CNames etc
  • The current website is not Flash or silverlight

if here - you have said "yes" for all the above.

  • First of all navigate to every page of this website. File save as
    each of this page to html(make sure you choose webpage complete -
    this will save all the images as well) I realise this will be static, but there is not much you can do here
  • Get all resources (stylesheets, xsds (if any) , any other images)
  • Enrich this content based on requirements (i.e. add dynamic content, change logos etc)
  • Modify the cname or nameserver to point to the location(webserver)
    you are in control.
  • Deploy your enriched and tested code
  • Educate your company to treat the developers well and when things go wrong, ensure transition is done well

I hope this help and good luck

Krishna

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文